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.
Deploy Application on Cloud
git clone https://github.com/innovatorved/AuthenticationSystem.git
cd AuthenticationSystem
yarn
yarn start
.
βββ 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
- https://mongoosejs.com/docs/
- https://www.npmjs.com/package/bcryptjs
- https://jwt.io/
- https://expressjs.com/en/guide/routing.html
I'm a Developer i will feel the code then write .
For support, email vedgupta@protonmail.com