AuthenticationSystem
AuthenticationSystem copied to clipboard
A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI
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
git clone https://github.com/innovatorved/AuthenticationSystem.git
Install Dependencies
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
Reference
- https://mongoosejs.com/docs/
- https://www.npmjs.com/package/bcryptjs
- https://jwt.io/
- https://expressjs.com/en/guide/routing.html
Authors
🚀 About Me
I'm a Developer i will feel the code then write .
Support
For support, email [email protected]