Serverless Web Applications with React and Next.js

Published in 2022

👉 This guide hasn't been updated for a while, therefore I decided to make it free!


Remember when you would use React only for the frontend of your applications, and create a whole server application to act as a backend? Those days are gone!

Using Next.js, you can develop serverless web full-stack applications with ease. This book provides a guide to this powerful combination of technologies.

You’ll learn how to use Server Side Rendering (SSR) and Static Site Generation (SSG) to create fast and SEO-friendly web applications.

You’ll build serverless functions that access data from your database and authenticate your users.

Finally, you’ll see how to deploy your Next.js applications in just a few clicks, avoiding complex consoles you can find at other hosting services.

What do I need to know before reading the book?

This book assumes you know React already and are familiar with TypeScript and Node.js development.

Can you help me learn Next.js?

I can guide you in your Next.js learning journey with mentoring sessions. Check out my mentoring services!

How up-to-date is the book?

The book is based on the latest Next.js version at the time of release (Next.js 13). It will be updated regularly with new content and to make sure that what is presented still works with latest versions.

What will I find inside the book?

  • Chapter 1 – Creating and deploying your first Next.js application
  • Chapter 2 – Writing serverless functions
  • Chapter 3 – Generating pages on the server: SSR, SSG, ISR
  • Chapter 4 – Accessing a database with Prisma
  • Chapter 5 – Authenticating users with Next-Auth
  • Chapter 6 – Using forms and writing to a database

Will I get the examples’ source code?

You can actually get it right now, on my GitHub!

Hi! I’m Sebastien Castiel 👋

I’m a French developer expatriated in Montreal. I have used React for several years now, and Next.js for a few months. I’m passionate about sharing what I learn, in books, blog posts, or as a teacher. Find more about me on my website!