3 Commits

Author SHA1 Message Date
Jakub Zych
0059add4a1 feat(01-02): add /ready endpoint with database connectivity check
- Add GET /ready endpoint that checks database connection
- Returns 200 'ready' when connected, 503 when not
- Update Routes to require DataSource dependency
- Provide dataSourceLayer in Main.scala
- Use 'hikari' prefix for HikariCP config to avoid ZIO config conflict
2026-02-04 22:20:35 +01:00
Jakub Zych
106e66413e feat(01-02): create Quill PostgreSQL context with ZIO integration
- Add QuillContext with dataSourceLayer and quillLayer
- Update application.conf for HikariCP-compatible format
- Export combined quillLive layer for database access
2026-02-04 22:00:33 +01:00
Jakub Zych
4278b84614 feat(01-01): create configuration infrastructure
- AppConfig, ServerConfig, DatabaseConfig case classes
- zio-config-magnolia for automatic Config derivation
- HOCON application.conf with env variable overrides
- Server: host/port with SERVER_HOST/SERVER_PORT overrides
- Database: host/port/database/user/password with DB_* overrides
2026-02-04 21:39:44 +01:00