Marko Djordjevic
bfe437857b
feat: add Python migration script and successfully test SQLite to PostgreSQL data migration
...
- Created scripts/migrate-sqlite-to-postgres.py as alternative to TypeScript version
- Handles all type conversions: timestamps, booleans, and JSONB fields
- Successfully migrated all 2,836 rows from SQLite to PostgreSQL
- Verified data integrity: all 6 tables migrated correctly
- Charts: 1, Candles: 2,592, Annotations: 4, Span annotations: 223
2026-02-17 14:01:21 +01:00
Marko Djordjevic
6522f501b6
feat: add EURUSD.csv data loading on Docker startup
2026-02-12 18:48:54 +01:00
Marko Djordjevic
6f965c1cc9
fix: add automatic database migrations on startup and copy drizzle folder to Docker
...
- Auto-run migrations when db module loads
- Copy drizzle migrations folder to Docker image
- Generate missing color column migration
- Fixes 500 errors on /api/candles and /api/annotations in Docker
2026-02-12 15:40:57 +01:00
Marko Djordjevic
4e13648ebf
fix: copy node_modules to Docker container for better-sqlite3 native dependencies
2026-02-12 15:32:19 +01:00
Marko Djordjevic
8646777f8d
fix: create public directory and simplify Dockerfile COPY logic
2026-02-12 15:21:01 +01:00
Marko Djordjevic
1f87950caf
fix: update Dockerfile to use Node.js 20-alpine (required by Next.js 16)
2026-02-12 15:18:07 +01:00
Marko Djordjevic
a1fa86fe55
feat: implement label management with sidebar, hacker theme, and Docker support
...
- Add label selection on chart with visual highlight (size 2x, color change)
- Implement keyboard delete handler (Delete/Backspace keys)
- Add comprehensive label management sidebar with:
- Collapsible label annotations section
- Search by timestamp
- Filter by type (Break Up, Break Down, All)
- Individual delete buttons
- Count display
- Click to select/highlight on chart
- Transform UI with hacker theme:
- Matrix green (#00ff41) on dark background (#0a0e0a)
- Monospace font (JetBrains Mono)
- Glow effects on button hover and active states
- Custom scrollbar styling
- Terminal-inspired aesthetic
- Add Docker deployment:
- Multi-stage Dockerfile with standalone output
- docker-compose.yml with volume persistence
- Non-root user (nextjs) for security
- Health check endpoint integration
- Tailwind and CSS enhancements:
- Custom colors (matrix, matrixDim, neonRed, etc.)
- Glow box shadows and animations
- Selection and scrollbar styling
2026-02-12 15:12:59 +01:00