No description
Find a file
counterweight 2702b66fd2
Phase 1.3: Create price endpoint for users
Add GET /api/exchange/price endpoint:
- Available to regular users (BOOK_APPOINTMENT permission)
- Returns current BTC/EUR price with admin premium applied
- Uses cached price from PriceHistory if not stale
- Fetches fresh price from Bitfinex if needed
- Returns is_stale flag when price is older than 5 minutes
- Includes exchange configuration (min/max EUR, increment)
- Handles fetch failures gracefully (returns stale price with error)
2025-12-22 18:22:46 +01:00
.cursor/rules Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00
.githooks fix pre-commit hook and code quality fixes 2025-12-21 22:14:48 +01:00
backend Phase 1.3: Create price endpoint for users 2025-12-22 18:22:46 +01:00
frontend Phase 0.3: Update E2E tests for cleanup 2025-12-22 18:13:24 +01:00
scripts Phase 0.3: Update E2E tests for cleanup 2025-12-22 18:13:24 +01:00
shared Phase 1.1: Add exchange configuration 2025-12-22 18:16:35 +01:00
.env.example tests passing 2025-12-18 23:33:32 +01:00
.envrc seed user 2025-12-18 22:42:32 +01:00
.gitignore Add Vitest coverage for frontend tests 2025-12-21 22:00:47 +01:00
.pre-commit-config.yaml code quality in place 2025-12-21 22:12:43 +01:00
docker-compose.yml tests passing 2025-12-18 22:08:31 +01:00
Makefile Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00