Summary: Using a Custom Server

Review what we've learned about using a custom server for our application.

We'll cover the following

Recap

In this chapter, we’ve seen how to integrate Next.js with two of the most popular web frameworks for Node.js: Express.js and Fastify. It’s possible to integrate Next.js with other web frameworks, and the implementation won’t be different from what we've seen.

One thing to consider when using a custom server of any kind (be it Express.js, Fastify, or any other framework) is that we can’t deploy it to some providers, such as Vercel or Netlify.

Many providers (Vercel, Netlify, Cloudflare, and so on) provide a great way to serve Node.js-powered applications: serverless functions (we’ll discuss these later in the course).

Get hands-on with 1200+ tech skills courses.