logo image
  • Build progress docs

    • Start NextJs project
    • Install linting and formatting (optional)

    • Setup Mongo DB
    • Setup authentication

    • Setup dark mode
    • Multiple languages
    • Setup online payment

    • Setup live chat
    • Setup Top Progress Loader
  • Other tech docs

    • Useful commands in Yarn
    • Basic Git tutorial
    • Basic Gitlab
    • Install WSL in Window
    • Testing - Jest testing library
    • Tools

    • Using icons in NextJs
    • Setup environment variables
    • Basic of Moongoose, MongDB
    • Unitest in Next.js
    • NVM - Node version management
    • Write CI/CD Gitlab for Next.js
    • Setup Messenger live chat for Next.js/React.js
  1. Home
  2. Build Progress Docs
  3. Setup Authentication

Setup Authentication NextAuth, Next.js

Learn how to set up MongoDB in Next.js using Mongoose and MongoDB Atlas. This step-by-step guide covers database connection, schema modeling, and best practices for seamless integration in your Next.js app.

  • Authentication with Credentials (email, password)
  • Authentication with Google Provider
Previous
Setup Mongo DB
Next
Setup dark mode