Standalone auth service in Go with JWT access tokens, refresh token rotation, RBAC middleware, rate limiting, and structured logging.
bcrypt hashing HS256 JWT RBAC Rate limited
Request Body
{
"email": "alice@example.com",
"name": "Alice",
"password": "securepass123"
}Response
{
"id": "b616a258-0133-4fbb-810e-4396af04da70",
"email": "alice@example.com",
"name": "Alice",
"role": "user"
}Built with Go, Gin, golang-jwt, and bcrypt. Run: go run . (starts on :8080)