FitLeaf is a web application built with React and Express.js. It provides a platform for users to engage in various physical activities with challenges and timers. Users can attempt challenges and complete a specified number of repetitions within the given time frame.
To get started with FitLeaf, follow these steps:
- Node.js and npm: If you don't have Node.js and npm installed, download and install them from Node.js official website.
-
Clone the repository to your local machine.
git clone <repository_url>
-
Change your working directory to the project folder.
cd FitLeaf
-
Install the required dependencies for the React frontend. Run the following command inside the project's root folder.
cd client npm install
-
Install the required dependencies for the Express.js backend. In the project's root folder, run:
cd server npm install
To run FitLeaf, follow these steps:
-
Start the Express.js server. In the project's root folder, run:
cd server npm start
-
Start the React development server. In the project's root folder, run:
cd client npm start
This will start the development server for the frontend and the Express.js server for the backend.
-
Visit the FitLeaf web application in your browser.
-
You'll find a list of physical activities with timers. When the timer runs out, a new challenge will be displayed with a timer as well.
-
Your main challenge is to complete the specified number of repetitions within the given time for each challenge.
- Isaac James, Jake Choi, Leo Zhi