Builds on next-tailwind-typescript-example
This starter takes care of boilerplate for:
- Typescript and TailwindCSS
- _document.tsx
- Mongoose/MongoDB
- NextAuth with MongoDB integration
- Basic auth flow screens
- SEO component
- Base button and modal components
To use, run npx create-next-app -e https://github.com/wwsalmon/next-mongodb-nextauth-example
, then create a .env
file with the following variables:
- MONGODB_URL
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- NEXTAUTH_URL