- Run postgres only with
docker-compose up -d postgres
- Init DB versioning
cd migrations/
go run main.go init
go run main.go up
docker-compose up quickbid -d --build
docker-compose stop
go generate ./...
Based on Clean Architecture
-
Entity: Business objects
-
UseCase: Business logics
-
Repository: Data & resource management
-
Bridge: Abstraction of libraries
-
App: Connects layers
-
Delivery: Delivery layer (eg HTTP/GRPC/Cron)