Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/innovatorved/authenticationsystem
A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI
https://github.com/innovatorved/authenticationsystem
auth authentication authorization cookie-parser express innovatorved jwt jwt-authentication mongoose nodejs rest-api
Last synced: about 2 months ago
JSON representation
A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI
- Host: GitHub
- URL: https://github.com/innovatorved/authenticationsystem
- Owner: innovatorved
- License: mit
- Created: 2022-05-19T07:56:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T21:18:07.000Z (over 1 year ago)
- Last Synced: 2024-10-10T19:24:58.110Z (2 months ago)
- Topics: auth, authentication, authorization, cookie-parser, express, innovatorved, jwt, jwt-authentication, mongoose, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 31
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Authentication System**
A Simple authentication system built in Node.js is a server-side application that uses the popular JavaScript runtime environment to handle authentication tasks. This system is designed to be simple and easy to use, allowing users to quickly and securely log in to the system using a username and password. The system uses Node.js to handle the authentication process, including verifying the user's credentials and managing sessions through JWT tokens to ensure that the user remains logged in.
This **AuthenticationSystem** is capable to be used in web applications for Easily Authentication and is known for its reliability and robust security features.
## Deployment
Deploy Application on Cloud
### Clone the Repo
```bash
git clone https://github.com/innovatorved/AuthenticationSystem.git
```### Install Dependencies
```bash
cd AuthenticationSystem
yarn
yarn start
```### 📁 _Directory view_
.
├── databse # Database Connection to MongoDB
│
├── models # User - Database Schema
│
├── src # Source files
│ │
│ ├── middleware # All Middleware Files
│ │
│ └── routes # Context - Global State Manager
│ │
│ ├── auth # Authentication routes - createaccount , login routes
│ │
│ ├── admin # Only Admin user can access these routes
│ │
│ ├── secure # Only Authentication user can access these routes
│ │
│ └── app.js # All router are connected
│
├── .env.example # Needs to create the .env file as per .env.example
│
│
└── index.js # Startpoint of the Entire Application## License
[MIT](https://choosealicense.com/licenses/mit/)
## Reference
- [https://mongoosejs.com/docs/](https://mongoosejs.com/docs/)
- [https://www.npmjs.com/package/bcryptjs](https://www.npmjs.com/package/bcryptjs)
- [https://jwt.io/](https://jwt.io/)
- [https://expressjs.com/en/guide/routing.html](https://expressjs.com/en/guide/routing.html)## Authors
- [Ved Gupta](https://www.github.com/innovatorved)
## 🚀 About Me
I'm a Developer i will feel the code then write .
## Support
For support, email [email protected]