Skip to content

allisonbierschenk/Work_it_out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

Work_It_Out

https://whiteboard-workout.netlify.app/

Project Description

I plan to create a React App that allows me track my workout progress.

There will be a "homepage" where you click on a category page. The category page will have all of the previously logged progress. The category page will show the date, exercise performed, time, reps, sets, and weight filled out as needed. The only required form field would be the date and exercise. There will be 9-10 components.

Submissions will come from the form. The form will include a category dropdown so that the submission is stored in the appropriate category.

Previous submissions will be able to be edited (postMVP)

The app will be styled by CSS.

Component Heirarchy

img

Wireframes

Homepage Desktop Wireframe
img

Homepage Mobile Wireframe
img

Category Page Desktop Wireframe
img

Category Page Mobile Wireframe
img

Form Page Desktop Wireframe
img

Form Page Mobile Wireframe
img

API and Data Sample

RESPONSE
{
    "records": [
        {
            "id": "recHZ2oZGwhxXSnnB",
            "fields": {
                "weight": "10lbs",
                "category": "legs",
                "workout": "step-ups",
                "reps": 10,
                "sets": 3,
                "date": "2021-01-02"
            },
            "createdTime": "2021-02-13T17:24:52.000Z"
        },
        {
            "id": "recYFpiJi8GXYEUR8",
            "fields": {
                "weight": "n/a",
                "category": "cardio",
                "workout": "sprints",
                "time": 1800,
                "sets": 15,
                "date": "2021-01-02"
            },
            "createdTime": "2021-02-13T17:24:52.000Z"
        },
        {
            "id": "recph1rxbQIi4LFU3",
            "fields": {
                "category": "arms",
                "workout": "push-ups",
                "reps": 10,
                "sets": 3,
                "date": "2021-01-02"
            },
            "createdTime": "2021-02-13T17:24:52.000Z"
        }
    ],
    "offset": "recph1rxbQIi4LFU3"
}

MVP/PostMVP

MVP

  • Homepage with clickable buttons leading to category
  • Each category page will display stored data from state/submissions
  • Form for submitting workouts
  • Components :
    • Homepage
    • Header
    • Footer
    • Arms
    • Legs
    • Abs
    • Back
    • Cardio
    • Recovery
    • Form
  • Media Query for mobile screens (350px)
  • Filter submissions based on pre-set category options
  • Redirect to homepage once form is submitted

PostMVP

  • Profiles for users
  • Edit Submissions
  • Categorize the category page by "workout". If the "workout" input equals another "workout" then group together
  • Click to expand the details on the page on mobile

Project Schedule

Day Deliverable Status
Feb 13-15 Create Project Proposal / Wireframes / Component Heirarchy / Timelines / Airtable Setup Complete
Feb 16 Project Proposal Approval / Pseudocode / (HTML, App.js, Index.js,Route) / Start Components Incomplete
Feb 17 Components / Route Components on App. js / / Event Handlers Incomplete
Feb 18 Finish up Components and core functionality / Start CSS / Mobile Design Incomplete
Feb 19 CSS / Bug Testing & Tweaking / Finish MVP Incomplete
Feb 22 Extra time for anything that pushes past the above timeline / (and/or time permitting) Post-MVP Incomplete

Timeframes

Component Priority Estimated Time Time Invested Actual Time
Nav component H 1hr 1hr n/a
Basic HTML or Header component (tbd) H 30 min 30 min n/a
React set up H 1hr 30 min n/a
App.js set up H 30 min 2hrs n/a
Axios call H 1hr 30 min n/a
Set up state H 2hrs 1hr n/a
Set up one component H 3hrs 3hrs n/a
Render content on page H 2hrs 2hrs n/a
Route content to category pages based on "category" selected on the form/in the Airtable H 2hrs 30 min n/a
Set up form component H 2hrs 3hrs n/a
Code route to homepage upon form submission H 2hrs 10 min n/a
Create the rest of the category component pages H 3hrs n/a n/a
Basic CSS H 1.5hrs 1 hr n/a
Testing and Tweaking H 3hrs n/a n/a
Mobile Query and CSS H 3hrs n/a n/a
CSS H 3hrs n/a n/a
Code ability to edit submissions by ID H 3hrs n/a n/a
Organize cateogy pages by "workout" H 3hrs n/a n/a
Total H 36.5hrs n/a n/a

SWOT Analysis

Strengths:

I know what I want to do functionally and have a high expectation for functionality and style. I have a basic understanding of how to apply what I have learned about react functional components.

I think I will be most successful in learning React and Components by choosing to use functional componenets instead of class components.

Weaknesses:

I can't remember which repo went over clearing forms...? I am not sure what "toggleFetch" does

Nav bar reference and looping through specific indicies in array
.map
handleSubmit
Artist/card lab
Ternary
React Router Intro/ Routes
Post and delete
Capturing form
Conditional rendering

Opportunities:

I look forward to being on my own to apply what I have learned and create a useful tool for my daily life using the skills I have learned over the last 2 weeks. I learn the best by doing my own work and struggling with code I don't quite understand.

Threats:

I worry I will run out of time, I may have bit off more than I can chew.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors