Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alexdenkk/auth-api

Authentication api using Go/Gin/Docker/PostgreSQL
https://github.com/alexdenkk/auth-api

clean-architecture docker gin go nginx posgresql

Last synced: 19 days ago
JSON representation

Authentication api using Go/Gin/Docker/PostgreSQL

Awesome Lists containing this project

README

        

# Auth api
Authentication api using Go/Gin/Docker/PostgreSQL

## Run
Run with docker
```cmd
cd deployments/docker-compose
docker-compose up -d
```

## Endpoints
### POST `/auth/login/`
Request example
```json
{
"login": "alexdenkk",
"password": "12345678",
}
```
Response example
```json
{
"token": ""
}
```