DEV Community

Cover image for Fastify - your next Web Framework
Leandro Andrade
Leandro Andrade

Posted on

Fastify - your next Web Framework

Recently I started to develop some API's using Fastify and I really impressed.

Basically, Fastify is a modern web framework that was built to be high performant, extensible with concepts about decorators and plugins, schema-based, logging, developer-friendly, and typescript ready. This framework has a big active community that for me is really important when I choose a library.

What really impressed me was the big ecosystem with a hundred core and community plugins, the philosophy behind decorators and plugins that really give us powerfully on our applications, and how fast Fastify handles requests.

The best thing about it is if you want to not use their plugin, like fastify-mongodb, is not a problem. The framework allows you to use mongodb in your way. Seriously, I really like the plugins, it is awesome.

But, and the Express?

Yes, Express is a big web framework and exists a lot of projects stable in production. In case you use or like express, it is ok, no problem. But I suggest that in your next project, give a chance to Fastify and I believe that it will surprise you.

As I said, I developed some products using Fastify, and to help me with the basic configurations and other stuffs, I decided to create a base project on my Github in my own way. Feel free to use it.

https://github.com/leandroandrade/fastify-cjs

Anyway, I continue studying Fastify and how to create great solutions using this framework. I don't know everything about the framework, but I in continuing to learn to do my best job.

I hope that it helps you.

Top comments (0)