Skip to content

m-khalaf/Beasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workout Schedhuling app

This health app can help users make healthier choices each day by enabling them to track their progress, view personalized dashboards, add new workouts or exercises, and analyze their basal metabolic rate and daily energy expenditure. It includes a PostgreSQL, Express, and Node.js backend, with a React frontend employing Bootstrap and MaterialUI packages.

Setup

Setting up our Client

Install React dependencies with npm install in root directory.

Add an .env file with a variable "PORT=8000"

Setting up our server

In a seperate terminal, navigate to the server folder and initialize the server dependencies and .env file

cd server/server_API
npm install
touch .env

To the .env file, add The following with the appropriate PostgreSQL database settings, database port number and server port number

  DB_HOST=localhost
  DB_USER=username
  DB_PASS=password
  DB_NAME=name
  DB_PORT=port-number
  PORT=8080

Setting up our Database

In a third seperate terminal, navigate to the root directory and run the following

  cd server/server_API
  \psql
  CREATE DATABASE workout
  \c workout

Add our initial database migrations and seeds

  \i db/schema.sql;
  \i db/seeds/exercises;
  \i db/seeds/meals.sql;
  \i db/seeds/meals_tracker.sql;
  \i db/seeds/exercise_tracking.sql;
  \i db/seeds/users.sql; 

Run the client and back-end server

To run the client React server, in the root directory run:

npm start

In a seperate terminal navigate to the root folder then run the following:

cd server/server_API
npm start

Screenshots

"screenshot description" Choose from preset plans "screenshot description" "screenshot description" Plans and exervises are added to your routine "screenshot description" Add custom exercises and meals "screenshot description" Track your progress "screenshot description" "screenshot description"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published