-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Full Stack FastAPI, React, and MongoDB - Second Edition
By :
Next.js is arguably the most popular full-stack and frontend framework, and there is a plethora of deployment options.
In this section, you will learn how to deploy your Next.js application on Netlify—one of the most popular web platforms for deployment, content orchestration, continuous integration, and much more.
In order to deploy your website on Netlify, you will need to deploy the FastAPI backend. If you haven’t already done so, please refer to Chapter 7, Building a Backend with FastAPI, on how to do that. Once you have the backend address (in your example, the URL of the deployed FastAPI application is https://chapter9backend2ed.onrender.com), it will be used as the API URL for the Next.js frontend.
In order to perform the deployment to Netlify, perform the following steps: