About the project
MoodJournal is a decomposed, gamified mood-tracking platform. The backend (Symfony) is separated from an independent mobile app (Expo / React Native), communicating through a secure API with JWT authorization.
Repositories:
- github.com/kopolot/moodjournal (backend)
- github.com/kopolot/moodjournalmobile (mobile)
Key implementations
API and security
Secure session management based on JWT tokens (Lexik JWT) for stateless mobile clients.
Event-driven architecture
Symfony Messenger for asynchronous processing of messages and system events.
Native integration
Multi-step check-in interface with localized global state, cross-platform notifications, and reactive UI (Reanimated).
Mood analysis (Plus/Pro)
GET /mood/analysis always runs a deterministic pattern engine (trends, aspect focus, coaching tip keys) with no LLM key required. Optionally, when OpenAI-compatible env vars are set (OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL), the API can add an LLM narrative; on timeout or error the same pattern-only payload is returned unchanged.