A starter template for building secure RESTful APIs in Go using JWT (JSON Web Tokens) for authentication and authorization. This project is designed to serve as a boilerplate for future backend services.
- 🔐 JWT-based authentication (access and refresh tokens)
- 🧍♂️ User registration and login
- 🔄 Token refresh mechanism
- 📦 Dependency management with Go modules
go-jwt-auth-project/ │ ├── controllers/ # HTTP handlers ├── middleware/ # JWT middleware ├── models/ # Data models ├── routes/ # API route definitions ├── go.mod # Go module definition ├── main.go # Application bootstrap