FitTrack is a workout tracking application built with the MERN stack (MongoDB, Express, React, Node.js).
Follow the instructions below to set up and run the application locally.
Make sure you have the following installed on your machine:
-
Clone the Repository
git clone https://github.com/shreyastambe103/FitTrack.git cd FitTrack -
Set Up the Backend
- Open a terminal and navigate to the
backenddirectory:
cd backend- Install the necessary dependencies:
npm install
- Start the backend server:
npm run dev
- Open a terminal and navigate to the
-
Set Up the Frontend
- Open a new terminal and navigate to the
frontenddirectory:
cd frontend- Install the necessary dependencies:
npm install
- Start the frontend development server:
npm start
- Open a new terminal and navigate to the
Once both the backend and frontend servers are running, you can access the application in your browser at http://localhost:3000.
backend/: Contains the backend code (Node.js, Express, MongoDB)frontend/: Contains the frontend code (React)
- Make sure your MongoDB server is running.
- You may need to configure environment variables for your database connection and other settings.