React frontend for tracking ice baths. Connects to a Laravel backend via an API.
API repo: https://github.com/Wiltzsu/avantotracker-api
- Website: https://www.avantotracker.com
- API: https://api.avantotracker.com
- Copy
.env.exampleto.env.local(or.env) and setVITE_API_URL. - Install dependencies:
npm ci - Start dev server:
npm run dev - Run tests:
npm test
Example:
VITE_API_URL=http://localhost:8000 npm run dev- React SPA with protected routes
- Session restore via
/api/meon load - Login and logout with Bearer tokens (registration disabled)
- History filters, CSV export, personal records, mood chart, optional selfies
- Create, edit, delete, and browse avanto entries
- PWA manifest for install/add-to-home-screen
- React + React Router
- Vite
- Axios (API client with auth interceptors)
- Vitest + Testing Library