tsed icon indicating copy to clipboard operation
tsed copied to clipboard

[EPIC] Support fastify

Open Romakita opened this issue 5 years ago • 9 comments

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

Romakita avatar Sep 20 '20 18:09 Romakita

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.

stale[bot] avatar Dec 02 '20 07:12 stale[bot]

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.

stale[bot] avatar Mar 10 '22 22:03 stale[bot]

Fighting with the stale bot? Haha

vincent-thomas avatar Mar 26 '22 10:03 vincent-thomas

Yes ^^. I haven’t started this feature, but it’s a goal ^^

Romakita avatar Mar 26 '22 10:03 Romakita

It would be awesome if this framework could support fastify! I'm thinking of using this framework instead of nestjs. Leaning against tsed ☺️

vincent-thomas avatar Mar 29 '22 20:03 vincent-thomas

Hi @Romakita, Can i pick this task ?

vibh1103 avatar Sep 26 '23 12:09 vibh1103

Hum, the PR is already started here: https://github.com/tsedio/tsed/pull/2437 But no time to continu the dev :)

Romakita avatar Sep 26 '23 14:09 Romakita

Thanks for update is there any other task I'll pick ?

vibh1103 avatar Sep 26 '23 15:09 vibh1103

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

Romakita avatar Sep 27 '23 06:09 Romakita