Skip to content

REST API implementing Hexagonal Architecture, including authentication

Notifications You must be signed in to change notification settings

elsyarif/go-auth-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-auth-api

REST API implementing Hexagonal Architecture, including authentication

Feature

  • User Register
  • Authentication
  • Refresh Token

Endpoint

Method path Description
POST /users Create a new user
GET /user/profile Get user information with protected route
POST /authentication Login with credential
PUT /authentication Create new access token
Delete /authentication logout

Stack

  • Gin
  • Postgres
  • Sqlx
  • Logrus
  • Dotenv

About

REST API implementing Hexagonal Architecture, including authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published