tercul-backend/internal/platform
google-labs-jules[bot] 1bb3e23c47 refactor(api): Consolidate server setup
This commit refactors the API server startup logic in `cmd/api/main.go` to simplify the application's architecture.

Key changes:
- Consolidates the three separate HTTP servers (GraphQL API, GraphQL Playground, and Prometheus metrics) into a single `http.Server` instance.
- Uses a single `http.ServeMux` to route requests to the appropriate handlers on distinct paths (`/query`, `/playground`, `/metrics`).
- Removes the now-redundant `PlaygroundPort` from the application's configuration.

This change simplifies the server startup and shutdown logic, reduces resource usage, and makes the application's entry point cleaner and easier to maintain.
2025-10-05 12:18:57 +00:00
..
auth feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
cache feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
config refactor(api): Consolidate server setup 2025-10-05 12:18:57 +00:00
db feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
http feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
log feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
openlibrary feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
search refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00