https://github.com/raghabendra-dash/node_user-authentication
https://github.com/raghabendra-dash/node_user-authentication
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raghabendra-dash/node_user-authentication
- Owner: raghabendra-dash
- License: mit
- Created: 2024-02-13T19:24:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-14T17:52:06.000Z (9 months ago)
- Last Synced: 2025-02-15T03:42:24.502Z (4 months ago)
- Language: JavaScript
- Size: 8.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeJS Authentication App:-----
A complete authentication app with login, logout, register, forget password, email verification(for added security), and access control. Can be used as starter for other Node.JS applications. using Node.js, Express, Passport, JWT, Mongoose, and more.
> App Link: [Go Live](https://node-validation.onrender.com/)
## Functionalities:
1. User can signup using the name, email and password.
2. User can directly signup using email.
3. User can login their account using email id and password or direct using email and can go to their profile.
4. User can logout their account.
5. User can reset their old password to new password.## Technologies Used:
1. NodeJS
2. Express
3. EJS
4. MongoDB
5. Mongoose
6. PassportJS
7. JWT
8. Nodemailer## Prerequisites:
- Git
- NodeJS
- CLI## Installation:
_* Into the project directory*_
`cd Nodejs_Authentication-main`
_*Installing NPM dependencies*_
`npm install`
_*Then simply start your app*_
`npm start`
The Server should now be running at http://localhost:8000/
## Folder Structure:
nodejs-auth
├── assets
│ └── css
│ └── bootstrap.min.css
│ └── images
│ ├── image 1
│ ├── image 3
│ └── image 2
│
├── config
│ ├── checkAuth.js
│ ├── key.js
│ └── passport.js
├── config
│ └──authController.js
├── models
│ └── User.js
├── node_modules
├── routes
│ ├── auth.js
│ └── index.js
├── views
│ ├── dash.ejs
│ ├── forgot.ejs
│ ├── layout.ejs
│ ├── login.ejs
│ ├── messages.ejs
│ ├── register.ejs
│ ├── reset.ejs
│ └── welcome.ejs
├── .gitignore
├── package.json
├── package-lock.json
├── README.md
└── server.js