👋
Welcome to FullStack Next.js template
A fullstack next.js template with all the fun stuff like next auth, mongodb, prisma, chakra ui
✨
Demo
Tech
- Next.js
- Next Auth
- MongoDB
- Prisma
- Chakra UI
- Typescript
- Prettier
- ESlint
One click deploy
Install
pnpm
How to use
Clone the template
git clone https://github.com/avneesh0612/next-fullstack-template.git
Add environment variables
DATABASE_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
- Create a new mongodb database and get the connection string
- Create a new google oauth app and get the client id and secret
- Generate a random string for NEXTAUTH_SECRET
openssl rand -hex 32
- Set NEXTAUTH_URL to your domain name (http://localhost:3000 if you are running locally)
Author
- Website: https://www.avneesh.tech/
- Twitter: @avneesh0612
- Github: @avneesh0612
- LinkedIn: @avneesh0612
🤝
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a
📝
License
Copyright © 2022 Avneesh Agarwal.
This project is GPL--3.0 licensed.