A full-stack gym tracking application built with React, Node.js, Express, and MongoDB.
- Node.js v23.1.0
- MongoDB instance (local or Atlas)
- Copy the environment template and rename it:
cp example.env .env.development
- Open
.env.developmentand enter your MongoDB URI and any other required values. - Ensure
.env*is in your.gitignore.
# Install root dependencies (backend + concurrently)
npm install
# Install frontend dependencies
npm install --prefix frontend# Seed the database with sample data
npm run data:import
# Clear the database
npm run data:destroy# Run both frontend and backend concurrently (development)
npm run develop
# Run backend only
npm run server
# Run frontend only
npm run clientThe backend runs on http://localhost:8000 and the frontend on http://localhost:5173 by default.