Refonte de l application avec:
- Frontend moderne en React + Vite
- Backend Flask API stateless
- Integration Pollinations cote serveur (cle non exposee au client)
- Aucune persistance des conversations (alignement RGPD)
Snapshot: March 4, 2026
Done:
- F1 Personalized 30-Day Plan
- F2 Daily Check-ins
- F3 Message Lab
- F4 Before-Send Mode
- UI SaaS: homepage, chat page, coach hub, message lab, legal pages, contact
- FR/EN switch and language-aware assistant behavior
- Pollinations backend integration (
/api/chat)
In progress:
- F7 Playbooks v1
Remaining:
- F5 Conversation Simulator
- F6 Pattern Detection
- F8 Relationship Timeline
- F9 Couple Mode
- F11 Exercise Library
- Cross-sprint: analytics instrumentation, observability, rate limiting, E2E tests
Reference docs:
docs/PRD.mddocs/SPRINT_BACKLOG.md
src/: React interfaceapp.py: Flask API (/api/chat,/api/health).env.example: environment variables (backend + frontend)
- Node.js 20+
- Python 3.11+
- Install frontend dependencies:
npm install- Install backend dependencies:
pip install -r requirements.txt- Create
.envfrom.env.exampleand set:
POLLINATIONS_API_KEYPOLLINATIONS_MODEL(optional, defaultopenai)
- Start Flask backend:
python app.py- In another terminal, start frontend:
npm run devFrontend calls backend through VITE_API_BASE_URL.
- User chat messages are not stored in database.
- Backend does not keep persistent conversation history.
- App logs avoid message content.
Procfile runs Flask API:
web: gunicorn app:app