Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Metrics Logbook — Frontend

React + Redux Toolkit + MUI dashboard for tracking personal health metrics, paired with the Node backend.

Prerequisites

  • Node.js 16+
  • The backend running locally (default http://localhost:8000)

Setup

npm install
cp .env.example .env   # set REACT_APP_API_URL if needed
npm start              # runs on http://localhost:3040

Scripts

  • npm start — start the dev server (port 3040)
  • npm run build — production build
  • npm test — run tests

Environment variables

See .env.example. REACT_APP_API_URL overrides the API base URL.

Architecture

  • src/store — Redux Toolkit slices (auth, metrics, group)
  • src/actions — async thunks calling the API
  • src/pages — route-level screens (Dashboard, Metrics, Group, Track, auth)
  • src/components/routingMainRoutes and PrivateRoute
  • src/utils — axios instance, auth-token helpers, toast wrapper

About

MERN-stack-for-metrics

Resources

Contributing

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages