Habit-Tracker for software developers. Runs fully local – no external infrastructure or authentication needed.
- Java 21+ (tested with OpenJDK 24)
- Node.js 20+ and npm
cd backend
./mvnw spring-boot:runThe API runs at http://localhost:8080. The H2 console is available at http://localhost:8080/h2-console (JDBC URL: jdbc:h2:file:./data/devhabits, user: sa, no password).
All data is persisted in a local H2 database file at backend/data/devhabits.mv.db. Data survives server restarts.
To reset the database and start fresh, delete the file:
rm backend/data/devhabits.mv.dbcd frontend
npm install
npm run devThe app runs at http://localhost:5173. API requests are proxied to the backend.
# Backend
cd backend && ./mvnw test
# Frontend
cd frontend && npm test