Skip to content

fevziatanoglu/Next-Auth-Authentication-Template

Repository files navigation

Next-Auth Authentication Template

Next-Auth Authentication Template is a starter template for building authentication systems using Next.js and Next-Auth.js and MongoDB. It provides a quick and easy way to set up user authentication in your Next.js applications.

Features

  • Next.js: Built on top of Next.js, a React framework for building server-side rendered and statically generated web applications.
  • Next-Auth.js: Integrated with Next-Auth.js for authentication, supporting various authentication providers such as email/username/password, OAuth, and more.
  • Middleware: Secure pages by using middleware.js , it use token info and callback function from Next-Auth.js.
  • JWT Authentication: Uses JSON Web Tokens (JWT) for secure authentication and authorization.
  • Customizable: Easily customizable to fit your project's specific requirements and design.
  • Database: It use MongoDB as database , there is user model and register router in api.

Installation

  1. Clone the project: git clone https://github.com/fevziatanoglu/Next-Auth-Authentication-Template.git
  2. Navigate to the project directory: cd Next-Auth-Authentication-Template
  3. Install the required packages: npm install
  4. Start the development server: npm run dev
  5. Visit http://localhost:3000 in your browser to view the application.

About

This is Authentication Template using Nextjs and next-auth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published