Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js Authentication Project

A simple Next.js project demonstrating user authentication with NextAuth.js, custom API routes, and protected pages. Built using Next.js Pages Router.

Features

  • User sign-up and login with email & password
  • Password hashing for secure storage
  • NextAuth.js integration for session management
  • API routes for authentication and user operations
  • Protected pages accessible only to authenticated users
  • Session handling with JWT strategy
  • Client-side and server-side authentication checks

Usage

  1. Clone the repository
git clone https://github.com/yuriiforge/NextJS-NextAuth
  1. Install dependencies:
npm install
  1. Copy content of .env.example file into .env.local. Place your own values

  2. Start the development server

npm run dev

About

A simple Next.js project demonstrating user authentication with NextAuth.js, custom API routes, and protected pages. Built using Next.js Pages Router.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages