solventum-image-metadata/backend/app
SamoilenkoVadym 20cbd32e62 feat(ui): use Flask HTML templates with FastAPI backend (hybrid mode)
- Copy Flask v3.1 HTML templates (index.html, login.html) to backend/templates/
- Add Jinja2 support to FastAPI main.py
- Update all JavaScript fetch() calls to use /api/* endpoints
- Add JWT authentication to all requests (Authorization: Bearer token)
- Implement automatic token refresh on 401 errors
- Store JWT tokens in localStorage

Benefits:
- 100% identical UI to Flask v3.1 (proven, working design)
- Gold gradient, Montserrat font, all animations preserved
- FastAPI backend (Redis sessions, JWT auth, async)
- No React rewrite needed
- All features work immediately

UI now matches Flask exactly while using modern FastAPI backend.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-02-09 19:13:02 +00:00
..
api fix(import): handle NaN values in Excel/CSV import 2026-02-09 18:59:20 +00:00
core feat(sso): migrate to client-side MSAL flow without client secret 2026-02-09 17:25:34 +00:00
models feat(backend): migrate from Flask to FastAPI with Redis sessions 2026-02-09 13:14:37 +00:00
processors feat(frontend): complete React feature parity with Flask v3.1 2026-02-09 18:35:36 +00:00
services feat(frontend): complete React feature parity with Flask v3.1 2026-02-09 18:35:36 +00:00
__init__.py feat(backend): migrate from Flask to FastAPI with Redis sessions 2026-02-09 13:14:37 +00:00
main.py feat(ui): use Flask HTML templates with FastAPI backend (hybrid mode) 2026-02-09 19:13:02 +00:00