Skip to content

krosenk729/Node-SQL-Workout-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log Yo' Workouts

Project Link: https://workoutsql.herokuapp.com/report

Using Node Code & SQL DB

Demo: A Workout For Your Eyes

UI Component

UI


Seeding DB

seed


CLI Component

CLI

Your Turn: Setup Instructions

"I thought those workouts were cardio before I seeded this database" you in 10 minutes

git clone https://github.com/krosenk729/Node-SQL-Workout-Logger.git
npm install

cd server/database
node schema.js
(pause and wait)

node seed.js 
(pause and go workout)

Up & Running: Pun Intended

You have three choices:

  1. Log a workout (spin, run or lift)
  2. Report on workouts (yeah buddy)
  3. Update an exisiting workout (only do this if you know the workout_id)
cd server/
node cli.js