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 sureNEXTAUTH_URL
matches your domain name for auth features to work. ChangeNEXTAUTH_SECRET
to anything else (15 characters minimum). - Using Stripe? Follow the production checklist (scroll down on the page)
Join the Leaderboards to feature your app and stay motivated! You can also apply to be an affiliate and earn 30% per sale.
Congrats on making it that far, legend!
—Marc
Grow your startup with actionable data
Analyze your traffic and find growth opportunities with DataFast
Showcase your new startup and get more customers
Join 3000+ solopreneurs on Indie Page