If you have existing an Express application, you might be wondering what it would take to migrate it to use the Fastify framework. You certainly don’t want to rewrite your application from scratch! Fortunately, the Fastify team have created a plugin — fastify-express — which can help ease the migration path.
In this video I show you how you can migrate your existing Express applications and start leveraging the benefits of the Fastify framework.
📃 There is an article version of this video — read it here (originally published on SitePoint).
Links
- Example code from this video. Explore the code and run the application we’ve built in this video.
- fastify-express. The plugin used in this video to ease the migration from Express to Fastify.
- Fastify documentation. The comprehensive documentation for the Fastify framework.
- Fastify Ecosystem. A directory of plugins for Fastify. Handy for finding plugins to replace Express middleware.