466 B
466 B
1. Linting
golangci-lint run
2. Unit tests
go test ./...
3. Build binary (kiểm tra compiles)
go build -o matching-app cmd/api/main.go
4. Build Docker image và khởi động môi trường
docker-compose up --build -d
5. Kiểm tra logs để xem app đã khởi động thành công
docker-compose logs -f app
6. Health‐check endpoint
curl http://localhost:8080/healthz # hoặc GET /campaign/config
7. Khi cần tắt
docker-compose down