test: verify Next.js application works with PostgreSQL

- Updated .env to use DATABASE_URL instead of DATABASE_PATH
- Tested all API endpoints: health, charts, candles, span annotations
- Confirmed JSONB fields work correctly (geometry, sub_spans, model_prediction)
- All 2,836 rows accessible via API
- Database connection pooling working correctly
This commit is contained in:
Marko Djordjevic 2026-02-17 14:02:22 +01:00
parent bfe437857b
commit 5377431c9d
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@
## 8. Testing and Verification
- [ ] 8.1 Run the full application locally with PostgreSQL — verify all API routes work
- [x] 8.1 Run the full application locally with PostgreSQL — verify all API routes work
- [ ] 8.2 Verify ML service can query candle/annotation data from shared database
- [ ] 8.3 Run `docker compose up` and verify all services start correctly with new configuration
- [ ] 8.4 Update `DEPLOYMENT.md` with new deployment steps (PostgreSQL migration, data migration script, rollback procedure)