innovatorved / AuthenticationSystem

A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

MIT

Reference

Authors

πŸš€ About Me

I'm a Developer i will feel the code then write .

Support

For support, email vedgupta@protonmail.com

About

A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI

License:MIT License


Languages

Language:JavaScript 93.3%Language:Makefile 6.7%