![](https://private-user-images.githubusercontent.com/29487929/309596083-e1c3a596-8912-4a7f-b127-f8ee0ba2e511.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNjg4MTAsIm5iZiI6MTcyMjE2ODUxMCwicGF0aCI6Ii8yOTQ4NzkyOS8zMDk1OTYwODMtZTFjM2E1OTYtODkxMi00YTdmLWIxMjctZjhlZTBiYTJlNTExLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDEyMDgzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhYTQ2NGUzNzYyYjg5MmY4YzQ1MDllNDRkYWEwZTA3YTY0YjY0NzM5NDhiMzZhMzk2ODg2ZGI3NTE1M2E4MzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.do3vf-UZv-p2zSjXpr1XnbirAZfK0-LHt0b8xgidm1Q)
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.
npm i
npm run dev
Navigate to localhost:3000
Create .env.local
file in project directory with these values:
NEXTAUTH_SECRET=
NEXTAUTH_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
Use build command: prisma generate && next build