Search⌘ K
AI Features

Using a Custom Fastify Server

Explore how to integrate Next.js with Fastify to create a custom, high-performance server. Learn to serve pages and static assets efficiently and customize route handling in your web applications.

We'll cover the following...

Fastify

Fastify is an incredible web framework for Node.js. As the name suggests, it can be attractive because it’s really, really fast when compared to other web frameworks, such as Express.js, Koa, and Hapi. To learn more about its performance, we can find the official benchmarks in this repository.

This web framework is developed and maintained by some of Node.js’s core developers, such as Matteo Collina (Node.js technical steering committee member). So, as we can imagine, the people behind Fastify perfectly know ...