Skip to content

Full app template implementing: Next.js v14 - Auth.js v5 with credentials (optional 2FA) - Material UI - MongoDB Atlas and Vercel compatible.

License

Notifications You must be signed in to change notification settings

srMarquinho/nextjs-authjs-mongodb-mui-template

Repository files navigation

SrMarquinho Systems

Production ready

Nextjs + Authjs + MongoDB + Material UI

  • About

    Full app template implementing: Next.js v14 - Auth.js v5 with credentials (optional 2FA) - Material UI - MongoDB Atlas and Vercel compatible.

Local Development

  • Run the deployment

      $ docker compose -f docker-compose.local.yml up --build
  • For mailer to work, define in you .env file:

    Mailer is using nodemailer and setup for gmail (for now feel free to make the necessary changes if you need another provider)

      MAILER_USER="[email protected]"
    
      MAILER_PASSWORD="password"
    

URLs

App: http://localhost:3000/

Prisma studio: http://localhost:5555/

Tech Stack

Login Page

About

Full app template implementing: Next.js v14 - Auth.js v5 with credentials (optional 2FA) - Material UI - MongoDB Atlas and Vercel compatible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published