matching_app/Readme.md
2025-05-02 15:12:18 +07:00

466 B
Raw Blame History

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. Healthcheck endpoint

curl http://localhost:8080/healthz # hoặc GET /campaign/config

7. Khi cần tắt

docker-compose down