/nextjs-saas

Primary LanguageJavaScript

NextJS SaaS

NextJS SaaS Project where I removed all sensitive bits. Not the best code.

Includes:

  • Google, Email Signin / Auth.
  • Stripe Checkout
  • Admin Panel
  • Email Order Notification
  • Using MongoDB

Feel free to use.

Local Development:

npm i

npm run dev

Navigate to localhost:3000

Environment Variables:

Create .env.local file in project directory with these values:

NEXTAUTH_SECRET=
NEXTAUTH_URL=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

Vercel Deployment:

Use build command: prisma generate && next build