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

https://github.com/maximilianotrz/go_auth_server

Golang JWT Authentication Server
https://github.com/maximilianotrz/go_auth_server

docker docker-compose fiber-go go golang postgres

Last synced: 3 months ago
JSON representation

Golang JWT Authentication Server

Awesome Lists containing this project

README

          

# Golang JWT Authentication Server

## To run the server and db:

```
docker-compose up --build
```

## Technologies

- Go
- Go Fiber
- Postgres
- Docker

## Postman Collection

- **GET /auth** - Check if the server is running.
- **GET /auth/authenticated-user** - Retrieve details of the authenticated user.
- **POST /auth/register** - Register a new user.
- **POST /auth/login** - Log in with credentials.
- **POST /auth/logout** - Log out the current user.