MoodTracker is a full-stack mood tracking application built with Spring Boot (Kotlin) and Vue 3.
It allows users to log their daily mood, stress level, sleep hours, habits, and meals, and later visualize patterns over time.
This repository uses a monorepo setup containing both the backend API and the frontend client.
- Spring Boot
- Kotlin
- Spring Security
- JWT Authentication
- JPA / Hibernate
- Vue 3
- Vite
- Pinia
- Vue Router
- Axios
mood-tracker
├── api # Spring Boot (Kotlin) backend
└── client # Vue 3 frontend
com.ralphmarondev.api
├── config
├── user
└── mood
Authentication logic lives inside the user feature.
- User registration
- Login with JWT
- Password hashing
- Protected endpoints
- Daily mood logging
- Stress level tracking
- Hours of sleep
- Reason and notes
- Daily habit checks
- Daily food checks
- Mood statistics and trends
- Calendar or timeline view
- Reminders
- Data export
- Dark mode
cd api
./gradlew bootRunBackend runs at:
http://localhost:3333
cd client
npm install
npm run devFrontend runs at:
http://localhost:5173