Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #1

Open
15 of 27 tasks
RobotoSkunk opened this issue Sep 9, 2023 · 0 comments
Open
15 of 27 tasks

Roadmap #1

RobotoSkunk opened this issue Sep 9, 2023 · 0 comments

Comments

@RobotoSkunk
Copy link
Member

RobotoSkunk commented Sep 9, 2023

TODO

  • Add middlewares support.
    • Add router middleware routing.
      • Add dynamic routing (by example /user/:name/posts).
      • Make it better than O(n), (At least O(log n)).
    • Add basic middleware routing.
    • Add static middleware routing.
    • Add error middleware routing.
    • Add dynamic responses.
      • Add <res>.write() function.
      • Add <res>.end() function.
      • Add <res>.cookie() function.
      • Add <res>.send() function.
      • Add <res>.status() function.
    • Add dynamic requests.
      • Add <req>.params object.
      • Add <req>.headers object.
      • Add <req>.body object.
      • Add <req>.raw object (reference to original Bun's Request object).
      • Add <req>.useragent object (parsed User-Agent header).
      • Add <req>.url object.
  • Add TLS support.
  • Add SSL support.
  • Handle compression automatically.
  • Add support for Websocket routing.
  • Add support for Unix sockets.
  • Add support for renderers.
    • Add own implementation of back-end rendering.
@RobotoSkunk RobotoSkunk pinned this issue Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant