Simple REST API to manage your contacts via JWT authentication.
- Go (Golang)
- Gin (framework HTTP)
- SQLite
- JWT (autenticação)
- Bcrypt (hash de senha)
contact-api
├───cmd
│ └───api/main.go # Entry point
├───internal
│ ├───database/ # Database connection
│ ├───handler/ # Handlers HTTP
│ ├───middleware/ # Middlewares (JWT)
│ └───model/ # Structures (DTOs)
git clone https://github.com/rogeriods/contacts-api.git
cd contacts-apigo mod tidygo run cmd/api/main.goOn resources folder we have 'api.http' to test API.