[EPIC] Support fastify
Informations
The goal is to provide a @tsed/platform-fastify package to support Fastify.
Take as example the @tsed/platform-express and @tsed/platform-koa as examples:
https://github.com/TypedProject/tsed/tree/alpha/packages/platform-express
https://github.com/TypedProject/tsed/tree/alpha/packages/platform-koa
Tasks
- [x] Create the fastify package (PR #2437)
- [ ] Remove all koa reference inside the fastify package (source files and tests files) (Issue: #2445, PR: #)
- [ ] Map Fastify Response to PlatformFastifyResponse (Issue: #2446, PR: #)
- [ ] Map Fastify Request fo PlatformFastifyRequest (Issue: #2447, PR: #)
- [ ] Implement the
mapHandler()method in PlatformFastify (Issue: #2451, PR: # ) - [ ] Implement the
mapLayers()method in PlatformFastify (Issue: #2452, PR: # ) - [ ] Implement the
useRouter()method in PlatformFastify (Issue: #, PR: # ) - [ ] Implement the
multipart()method in PlatformFastify (Issue: #, PR: # ) - [ ] Implement the
statics()method in PlatformFastify (Issue: #, PR: # ) - [ ] Add documentation section on the website (Issue: # , PR: # )
- [ ] Home page reference the Fastify page
- [ ] Add a new page on fastify platform
- [ ] Capability table is up to date: https://tsed.io/getting-started/
Board: https://github.com/orgs/tsedio/projects/4/views/1
All Fastify related issues: https://github.com/tsedio/tsed/issues?q=is%3Aopen+is%3Aissue+label%3AFastify
Acceptance criteria
- [ ] Ts.ED server start on Fastify
- [ ] All integration test works
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Fighting with the stale bot? Haha
Yes ^^. I haven’t started this feature, but it’s a goal ^^
It would be awesome if this framework could support fastify! I'm thinking of using this framework instead of nestjs. Leaning against tsed ☺️
Hi @Romakita, Can i pick this task ?
Hum, the PR is already started here: https://github.com/tsedio/tsed/pull/2437 But no time to continu the dev :)
Thanks for update is there any other task I'll pick ?
Hello @vibh1103 You help on this enhancement is welcome! We can work together on this PR ;). We can split the issue in subtasks like this:
- Remove all koa reference inside the fastify package (source files and tests files) (PR #)
- Map Fastify Response to PlatformFastifyResponse (PR #)
- Map Fastify Request fo PlatformFastifyRequest (PR #)
- Implement the
mapHandler()method in PlatformFastify (PR # ) - Implement the
mapLayers()method in PlatformFastify (PR # ) - Implement the
useRouter()method in PlatformFastify (PR # ) - Implement the
multipart()method in PlatformFastify (PR # ) - Implement the
statics()method in PlatformFastify (PR # )
Note: I added theses tasks on the first message on this story
You can make small PR for each tasks ;). It will me help a lot :). If you have any question. Tell me!
See you