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

https://github.com/shba007/unauth-api

Authentication Service
https://github.com/shba007/unauth-api

api auth nitrojs

Last synced: 2 months ago
JSON representation

Authentication Service

Awesome Lists containing this project

README

          



# UnAuth API



uptime status

> Global REST API Authentication Service

- 🐋 Containerized
- 🪄 CI/CD (Github Action)
- ⚡️ API Route Caching
- 📐 Analytics

- [ ] Rate Limiting
- [ ] Maintain blocklist

## How to Deploy

1. Initialize Swarm on the Manager Node

```bash
docker swarm init --advertise-addr
```

2. Join Worker Nodes to the Swarm

```bash
docker swarm join --token :2377
```

3. Check Node Status

```bash
docker node ls
```

4. Create a docker volume

```bash
docker volume create \
--name unauth-api_data \
--driver local \
--opt type=none \
--opt device=~/Algostract/unauth-api/.data \
--opt o=bind
```

5. Use Docker Stack to deploy multi-container application

```bash
docker stack deploy --compose-file docker-compose.prod.yml unauth-api
```

6. Scale service

```bash
docker service scale unauth-api_app=2
```

7. Verify

```bash
docker service ls
docker service ps unauth-api_app
```

## License

Published under the [MIT](https://github.com/shba007/unauth-api/blob/main/LICENSE) license.