Deployment

Deployment


Setup
  1. Commit your code and push to a private repo on GitHub.

  2. Use your favorite hosting provider (Vercel for me) to create a new project based on the GitHub repo. You can deploy your app anywhere NextJS is supported: Vercel, Netlify, Render, etc.

  3. Set the right .env file on your deployement as the .env.local is not committed.

    💡

    Make sureNEXTAUTH_URL matches your domain name for auth features to work. Change NEXTAUTH_SECRET to anything else.

  4. Using Stripe? Follow the production checklist (scroll down on the page)






Congrats on making it that far, legend!
—Marc