Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.15 KB

README.md

File metadata and controls

67 lines (42 loc) · 1.15 KB

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