Skip to content

kakitomeru/auth

Repository files navigation

WIP: Auth Service

This is a repository for the auth service. It's a microservice that handles user authentication. It's built with Go and uses gRPC for communication with an API Gateway.

How to run

make start
# or
(set -a; source .env; set +a; go run cmd/main.go) # appends all env variables to the running command

Endpoints

Here are the endpoints that are available in the service, represented via http transcodings.

Register: Register | POST /api/v1/auth/register

Login: Login | POST /api/v1/auth/login

Logout: Logout | POST /api/v1/auth/logout

Refresh Token: RefreshToken | POST /api/v1/auth/refresh

Get User: GetUser | GET /api/v1/me

About

auth service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published