React + Redux Toolkit + MUI dashboard for tracking personal health metrics, paired with the Node backend.
- Node.js 16+
- The backend running locally (default
http://localhost:8000)
npm install
cp .env.example .env # set REACT_APP_API_URL if needed
npm start # runs on http://localhost:3040npm start— start the dev server (port 3040)npm run build— production buildnpm test— run tests
See .env.example. REACT_APP_API_URL overrides the API base URL.
src/store— Redux Toolkit slices (auth,metrics,group)src/actions— async thunks calling the APIsrc/pages— route-level screens (Dashboard, Metrics, Group, Track, auth)src/components/routing—MainRoutesandPrivateRoutesrc/utils— axios instance, auth-token helpers, toast wrapper