This is a base app that provides Authjs V5 authentication with Credentials (MongoDB) and OAuth. Can be used as a starting template for DashboardApps with Admin and User roles.
This is a TS Next.js project bootstrapped with create-next-app
.
Works on :
Authentication : Authjs (v5) -> Google + Credentials
DB : MongoDB + Mongoose
Interface: Tailwind + ShadCN
Forms: React-hook-forms + Yup
Email: Nodemailer
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Create .env.local form env.template and env.local.template
Open http://localhost:3000 with your browser to see the result.