https://github.com/bit-rahul/nodejs-auth
A complete NodeJS + Express + PassportJS + JWT authentication app:
https://github.com/bit-rahul/nodejs-auth
css ejs jwt nodejs nodejs-authentication passport
Last synced: 2 months ago
JSON representation
A complete NodeJS + Express + PassportJS + JWT authentication app:
- Host: GitHub
- URL: https://github.com/bit-rahul/nodejs-auth
- Owner: bit-rahul
- Created: 2020-08-15T20:21:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-04T12:04:27.000Z (over 4 years ago)
- Last Synced: 2025-02-02T01:32:09.268Z (3 months ago)
- Topics: css, ejs, jwt, nodejs, nodejs-authentication, passport
- Language: JavaScript
- Homepage: http://serene-headland-22338.herokuapp.com/
- Size: 146 KB
- Stars: 99
- Watchers: 1
- Forks: 42
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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.## Web App Link
http://serene-headland-22338.herokuapp.com/
## Technologies Used
1. NodeJS
2. Express
3. EJS
4. MongoDB
5. Mongoose
6. PassportJS
7. JWT
8. Nodemailer## Prerequisites
- Git
- NodeJS
- CLI## Installation
##### Clone the latest Repository
`git clone https://github.com/rahulsups/nodejs-auth.git`
##### Into the project directory
`cd nodejs-auth`
##### Installing NPM dependencies
`npm install`
##### Then simply start your app
`npm start`
#### The Server should now be running at http://localhost:3006/
## Folder Structure
nodejs-auth
├── assets
│ --- ├── secure-icon.png
│ --- ├── cyber-security-icon.jpg
│ --- └── css
│ -------- └── bootstrap.min.css
├── 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