Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]