sentinel-core — production-grade Go backend scaffold demonstrating Clean Architecture, REST API, Postgres, JWT auth skeleton, background worker pattern, Docker, and CI.
- Clean Architecture (internal/domain/usecase/infrastructure)
- REST API (chi)
- PostgreSQL (sqlx)
- Config via Viper
- Structured logging (zerolog)
- JWT auth skeleton
- Docker + docker-compose
- Example unit tests
- Copy
configs/config.yamland edit environment values. - Start postgres:
docker-compose up -d
- Run the server:
go run ./cmd/api
See /internal for core app code and /cmd/api for app entrypoint.