Skip to content

Ruby-on-Rails API using PSQL allowing signed-in users to CRUD and randomize exercises as well as save them as a full workout.

License

Notifications You must be signed in to change notification settings

ssolmonson/workout-api

Repository files navigation

Swolercise Application

An application to help track workouts and randomize a specific group of exercises when you just aren't sure what to do.

Homepage

Important Links

Planning Story

This project came into mind when a colleague brought up the idea of needing a way to formulate a workout when they may just not know what to do, or challenge themselves in an unknown way.

The main purpose of this application was to randomize a workout based on a specific muscle/workout category. For version 1.0 this method would use one category to request the randomized response and a set number of exercises (5, set on the backend). From here the next step was to design a way to log the workout created, because what use is an application if it just needs another workout tracker to function amazingly.

Unfortunately some ideas initially intended to be ready for release had to be postponed. Still they are not far off from being completed. Structure is in place for these features to be finished and added.

User Stories:

  • As a user I want to be able to sign up
  • As a user I want to be able to sign in
  • As a user I want to be able to change password
  • As a user I want to be able to sign out
  • As a user I want to save a specific exercise
  • As a user I want to be able to save a whole workout
  • As a user I want to be able to enter my workout w/ sets and reps done
  • As a user I want to save a workout to a specific date
  • As a user I want to see all my workouts done
  • As a user I want to be able to edit a specific excercise
  • As a user I want to delete a workout
  • As a developer I want to define a workout/exercise by a specific category
  • As a user I want to randomize individual workouts by their type
  • As a user I want to be able to see a graph of my workouts completed for a given week/month
  • As a user I want to see a graph of muscle/exercise categories I’ve done in total.

Technologies Used

  • Ruby
  • Ruby-on-Rails
  • Heroku

Tables

  1. Users
  • Sign in
  • Sign out
  • Sign Up
  • Change Password
  1. Exercises (hardcode exercises?)
  • Exercise
  • Category (i.e. legs, back, arms, etc)
  • Description
  1. Workouts
  • Workout
  • Sets
  • Reps
  • Categories involved ? (Array maybe? or joins table)

Wireframe:

Homepage:

Homepage

Signed In:

Sign-in

ERD:

ERD

ERD V2

Catalog of Routes:

Catalog of Routes

Future Goals:
  • Customize messages for success and errors
  • Develop a flow of design for the site, working over fonts and color patterns
  • Add a way to create custom workouts, not just from the randomizer
  • Utilize Chart.js to display relevant information about workouts logged/created

About

Ruby-on-Rails API using PSQL allowing signed-in users to CRUD and randomize exercises as well as save them as a full workout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published