Skip to content

Simple full-stack exercise logging web application utilizing MySQL, Express, React and Node.js

Notifications You must be signed in to change notification settings

Wrthlor/Fitness-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness-Tracker

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

Technologies

Frontend

  • React.js for rendering and state management

Backend

  • Node.js runtime environment to execute server-side code
  • Express.js web framework
  • MySQL relational database management system

Getting started

How to set up locally

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo

    git clone https://github.com/Wrthlor/Fitness-Tracker.git
  2. Install NPM packages

    cd Fitness-Tracker/frontend
    npm install
    cd ../backend
    npm install
  3. Create and update frontend/.env and backend/.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'

Features

Login and Sign up

  • Users can create an account to sign up or log in with an existing account

Saving workouts per day and user

  • Each log saved is dependent on the date selected
  • Creating logs and adding workouts are authenticated via JSON Web Token

Acknowledgements

About

Simple full-stack exercise logging web application utilizing MySQL, Express, React and Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published