Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmedadelfahim/identity-server
Authentication and Authorization Server.
https://github.com/ahmedadelfahim/identity-server
authentication authorization mongodb mongoose nodejs redis
Last synced: 12 days ago
JSON representation
Authentication and Authorization Server.
- Host: GitHub
- URL: https://github.com/ahmedadelfahim/identity-server
- Owner: AhmedAdelFahim
- Created: 2022-05-14T15:49:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T08:48:37.000Z (over 2 years ago)
- Last Synced: 2023-03-07T18:01:41.731Z (over 1 year ago)
- Topics: authentication, authorization, mongodb, mongoose, nodejs, redis
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Identity Server
Authentication and Authorization Server.
## Getting Started
These steps will get you a copy of the project up and running for development and testing purposes.
## Installation
1. Install **Nodejs** _latest stable version_
2. Install **npm** _latest stable version_
3. Install **mongoDB** _latest stable version_
4. Install **redis** _latest stable version_
5. _Optional Step_ ⇒ You can install **MongoDB Compass** [any user interface application for MongoDB] as it offers a user interface for dealing with the database
6. Clone the Project
7. Run the following commands:
```
npm install
cp .env.example .env
```
8. write required variables in .env## Usage
1. for running localy
```
npm run start
```
2. for testing
```
npm run test
```
## Running Using Docker
1. write required variables in docker-compose.yml
2. Run the following commands:
```
docker-compose up
```## [API Documentation](https://documenter.getpostman.com/view/20985353/UyxjFksf)
## Built With
1. [Nodejs](https://nodejs.org/en/)
2. [Redis](https://github.com/redis/node-redis)
3. [Mongodb](https://docs.mongodb.com/)## Server Features
- [X] We can create user.
- [X] We can give user permissions on specific action.
- [X] We can revoke permissions from user on specific action.
- [X] Server can authenticate user to access a system.
- [X] Server can check user's permissions before do an action.
- [X] Server can force user to be logout from system.
## Todo
- [ ] increase test coverage
- [ ] handle owasp vulnerabilities
- [ ] deploy app
- [X] dockerize app
- [ ] secure creation services
- [ ] implement refresh token
- [ ] convert postman documentation to swagger documentation