https://github.com/code-with-divyanshu/next_auth
This is a Next.js application that demonstrates a complete authentication workflow, including user login, logout, and profile management. It integrates with backend services to handle secure authentication and user sessions, providing a seamless user experience.
https://github.com/code-with-divyanshu/next_auth
javascript-framework next-auth nextjs-authentication-mongodb-bcryptjs-jsonwebtoke nextjs-project nextjs14 react-framework
Last synced: about 2 months ago
JSON representation
This is a Next.js application that demonstrates a complete authentication workflow, including user login, logout, and profile management. It integrates with backend services to handle secure authentication and user sessions, providing a seamless user experience.
- Host: GitHub
- URL: https://github.com/code-with-divyanshu/next_auth
- Owner: code-with-divyanshu
- Created: 2024-08-04T11:06:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T18:11:11.000Z (9 months ago)
- Last Synced: 2025-02-01T21:33:29.025Z (4 months ago)
- Topics: javascript-framework, next-auth, nextjs-authentication-mongodb-bcryptjs-jsonwebtoke, nextjs-project, nextjs14, react-framework
- Language: TypeScript
- Homepage: https://next-auth-umber-iota.vercel.app
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔒 Next.js Authentication App
This is a Next.js application that demonstrates a complete authentication workflow, including user login, logout, and profile management. It integrates with backend services to handle secure authentication and user sessions, providing a seamless user experience.
## 💫 Features
### User Registration: Sign up with a username, email, and password.
- ### Login & Logout: Authenticate users with email and password, and securely log out.
- ### Profile Management: View and update user profile details.
- ### Error Handling: Informative error messages and loading states.
## Installation
### Clone the Repository:
git clone https://github.com/code-with-divyanshu/next_auth.git
## Navigate to the Project Directory:
cd nextjs-authentication-app
## Install Dependencies:
npm install
### or
yarn install
## Configure Environment Variables:
### Create a .env file in the root directory and add your environment variables.
Example:
#### Check this sample env file
https://github.com/code-with-divyanshu/next_auth/blob/075760bceffcd9a6ce2b1bb6b06e0f0ae801915c/.env.sample
### Run Website
npm run dev
### or
The application will be available at http://localhost:3000.
## Usage
- ### Visit /login to access the login page.
- ### Visit /signup to create a new account.
- ### Visit /profile to view and manage your profile.
- ### Visit /verify to view and verify your profile.
## 🤝 Contributing
### Feel free to submit issues, fork the repository, and contribute via pull requests. Please follow the project's code of conduct and contribution guidelines.