You don't need anything else to accept application/json inputs.įastify explains in its official documentation how to write the test for it! await plugins loading (like a mongo connection) before start listeningīy default, Fastify has a secure JSON body-parser to read the request body.It seems simple, but this word means that Fastify ships with some key features necessary for me to be productive.įastify supports async/await out of the box for all the components that must be awaited like: I prefer Fastify to Express for the productivity. My knowledge is about I prefer Fastify to Express.Opinions expressed are solely my own and do not express the views or opinions of the Fastify community.I think expressjs is a great project and a pillar for the Node.js community, and the core team is doing a great job to push forward this framework.I'm a happy Fastify maintainer, so that I could be a bit biased.You should prefer the framework that fit best your needs "Why should I prefer Fastify to Expressjs?"Ī lot of people ask me this question over and over again, so I would like to share why I preferįastify to Expressjs because the correct answer to this question is just one:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |