βοΈ Deployment Setup¶
π Time to Launch!¶
-
Commit your code and push it to a private GitHub repository.
-
Use your preferred hosting provider (I recommend Vercel) to create a new project based on that GitHub repo.
-
You can deploy your app anywhere that supports Next.js like: Vercel, Netlify, Render, etc.
-
Make sure to set up the correct
.env
file for your deployment environment, since.env.local
isnβt pushed with the code. -
Ensure that
NEXTAUTH_URL
matches your domain name so that authentication features work properly. -
Change
NEXTAUTH_SECRET
to a secure value (minimum 15 characters). -
Using Stripe? Follow the production checklist (scroll down the page for it).
-
(Optional) Track your traffic and identify your best marketing channels using DataFast. As a SaaSFast member, you get 30% off all plans β€οΈ