Authentication and Authorization Server.
These steps will get you a copy of the project up and running for development and testing purposes.
- Install Nodejs latest stable version
- Install npm latest stable version
- Install mongoDB latest stable version
- Install redis latest stable version
- Optional Step ⇒ You can install MongoDB Compass [any user interface application for MongoDB] as it offers a user interface for dealing with the database
- Clone the Project
- Run the following commands:
npm install cp .env.example .env
- write required variables in .env
- for running localy
npm run start
- for testing
npm run test
- write required variables in docker-compose.yml
- Run the following commands:
docker-compose up
- We can create user.
- We can give user permissions on specific action.
- We can revoke permissions from user on specific action.
- Server can authenticate user to access a system.
- Server can check user's permissions before do an action.
- Server can force user to be logout from system.
- increase test coverage
- handle owasp vulnerabilities
- deploy app
- dockerize app
- secure creation services
- implement refresh token
- convert postman documentation to swagger documentation