Deployment

Deployment

Setup

  • Commit your code and push to a private repo on GitHub.
  • 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.
  • Set the right .env file on your deployement as the .env.local is not committed.

    Make sure NEXTAUTH_URL matches your domain name for auth features to work. Change NEXTAUTH_SECRET to anything else (15 characters minimum).

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