Challenges

Deploying Our App

Production Build

Now let's try to create a production build of our app. For that, visit your app & run:

yarn build

This will make our app ready for production deployments. Then we can run our app with:

yarn start

Now we can access the production version of our app with http://localhost:3009.

šŸ’” This is the same process you need to do when you are deploying inside a hosting provider. You can deploy a Next.js app anywhere you can deploy a Node.js server.

You will get all the features of Next.js, including "Incremental Static Regeneration".

Q: Hmm. Can I deploy a Next.js app into a serverless platform like AWS Lambda?
authenticating...

šŸ™ We need your help

We need your help to keep maintain & add new content to this course. Here's how you can support us: