This is Rest Api App with authentication and unit tests.
A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.
Architecture Layers of the project:
- Router
- Handler
- Service
- Store
- DB interaction
Public API Request Flow without JWT Authentication Middleware
Private API Request Flow with JWT Authentication Middleware
How to run this project?
cd your-workspace
git clone https://github.com/saadozone/EMPLOYEES_CRUD.git
docker-compose up
go run main.go
How to run the test?
go test ./...