This project is a React-based application designed to assist users with their workout routines by providing a dynamic workout timer. The app includes a feature to toggle sound notifications and adjusts the number of exercises based on the time of day.
- Current Time Display: Shows the current time formatted in a user-friendly manner.
- Dynamic Workout Schedule: Adjusts the number of exercises in the full-body workout and core workout depending on whether it's AM or PM.
- Sound Toggle: Allows users to enable or disable sound notifications during their workouts.
- Calculator: A component that calculates and displays the workout routines based on the time of day.
To get a local copy up and running, follow these simple steps.
-
Clone the repository:
git clone https://github.com/your_username_/workout-timer.git
-
Navigate to the project directory:
cd workout-timer
-
Install NPM packages:
npm install
-
Start the development server:
npm start
The application should now be running on http://localhost:3000.
After starting the app, you will see the current time displayed on the screen. Below the time, there is a toggle button to enable or disable sound notifications. The main section of the app displays a calculator that takes into account the current part of the day (AM or PM) to suggest a workout routine with the appropriate number of exercises.