Code Monkey home page Code Monkey logo

workout-tracker's Introduction

Workout Tracker

CMPT 354 Project

Setup

  1. npm i
  2. Duplicate .env-example and rename to .env and update with your local postgresql DB credentials

DB Setup (MacOS Steps)

  1. brew install postgresql // Install PostgreSQL
  2. brew services start postgresql // Start PostgreSQL
  3. npm run db-up // To create all tables

Side-Note: npm run db-down // To destroy DB

Preview Steps

  1. npm run build // Builds the project
  2. npm run start // Starts the project
  3. Visit localhost:3000 on your browser

Dev Steps

  1. npm run build // Builds client files into /dist/bundle.js. To watch for changes set the param watch to true in webpack.config.js

  2. npm run dev-start // Starts server, and restarts server if files were changed

workout-tracker's People

Contributors

pashanirani avatar vy-b avatar bsbhakti avatar

Watchers

James Cloos avatar  avatar  avatar

workout-tracker's Issues

Update NavBar

Move navbar to bottom of screen and have the following buttons:

  • Home
  • History (Or a cooler name)
  • Profile
  • Give them icons
  • make them goto their own urls

Dashboard

Display the following on the dashboard:

  • Start New Workout button. Goes to: /App/MyWorkouts/
  • Display previous session with "workout name" and "date".
    • Once clicked: goto a new URL (url for now should be placeholder, so name it anything).

Profile Page - Gym / Trainer

  1. Populate gym, trainer and sponsor tables on db-create
  2. give user option to set their "gym" and/or "trainer" on profile page.

Session Stats Page

Stats page should show the following:

  • Each set of each exercise, in a nice timeline manner
  • Total weight done in session
  • Number of Sets (or exercise) done
  • anything else you can think of.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.