View Code? Open in Web Editor
NEW
Test project for Genesis school. Web API with JWT authentication written in Golang
btcrateapi's Introduction
Test project for Genesis school. Web API with JWT authentication and file-based storage written in Golang
- Gin HTTP web framework for building API
- jwt-go for building token-based authentication
- GJson for accessing nested json fields to avoid creating a struct
- Adding refresh token logic to improve user experience
- Adding logout logic for destroying tokens manually without waiting for expiration
btcrateapi's People
Contributors
Watchers