Fitness-Tracker is a single-page-application which allows users to record the workouts and exercises done in a log format which corresponds to the date of the user's choosing.
Link to live Heroku app: Fitness-Tracker
- React.js for rendering and state management
- Node.js runtime environment to execute server-side code
- Express.js web framework
- MySQL relational database management system
How to set up locally
- npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/Wrthlor/Fitness-Tracker.git
-
Install NPM packages
cd Fitness-Tracker/frontend npm install cd ../backend npm install
-
Create and update
frontend/.env
andbackend/.env
REACT_APP_HOST='ENTER YOUR PRODUCTION SERVER HOST'
# JawsDB Connection String JAWSDB_URL=mysql://Username:Password@Server/Database # Localhost Connection String localhost_URI=mysql://Username:Password@Server/Database PORT=3001 SECRET='ENTER ANY STRING'
- Users can create an account to sign up or log in with an existing account
- Each log saved is dependent on the date selected
- Creating logs and adding workouts are authenticated via JSON Web Token