8000 GitHub - AprilShenk/only-yoga · GitHub
[go: up one dir, main page]

Skip to content
AprilShenkPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

85 Commits

Folders and files

Repository files navigation

only-yoga


Overview

Only Yoga This app will allow users to view yoga poses. The app will have user authentication and once a user is registered and logged in they can create a daily log to take notes on the poses they practiced.


MVP

The Only Yoga MVP will have full CRUD for logs. The database will have three tables, poses, users, and logs and use postgreSQL. The app will be built using Ruby on Rails and React.


Goals

  • Responsive Design
  • Full Stack CRUD
  • Backend built with Ruby on Rails and postgreSQL.
  • At least one to many table relation.

Libraries and Dependencies

Library Description
React Used for front end interfaces
React Router Allows for multiple views within the app
PostgreSQL Database to store app information
Ruby on Rails Used to interact with the database
Styled Components Used to allow styling in JSX
Axios Used to call database
Font Awesome Used for icons

Client (Front End)

Wireframes

Mobile Landing | Tablet Landing | Desktop Landing

  • Landing Views

Mobile Poses | Tablet Poses | Desktop Poses

  • Poses Index Views

Mobile Pose | Tablet Pose | Desktop Pose

  • Pose Show Views

Mobile Logs | Tablet Logs | Desktop Logs

  • Log Index Views

Mobile Log Show | Tablet Log Show | Desktop Log Show

  • Log Show Views

Mobile Log Create | Tablet Log Create | Desktop Log Create

  • Log Create and Edit Views

Component Tree

Whimsical

Component Hierarchy


src
|__ components/
      |__ shared
          |__ Nav.jsx
          |__ Footer.jsx
          |__ Layout.jsx
      |__ Pose.jsx
      |__ PoseCard.jsx
      |__ Login.jsx
      |__ Register.jsx
|__ screens/
      |__ Home.jsx
      |__ Poses.jsx
      |__ PoseDetails.jsx
      |__ Log.jsx
      |__ LogCreate.jsx
      |__ LogDetail.jsx
      |__ LogEdit.jsx
|__ services/
  |__ api-config.js
  |__ auth.js
  |__ poses.js
  |__ log.js

Component Breakdown

Component state props Description
Navigation n n The navigation will provide a link to each of the pages.
Poses y y The gallery will render the posts using cards in flexbox.
Pose Detail y y The pose detail will render the pose info via props.
Log y y The log will render the log posts and allow deletions.
Log Edit y y The log edit will render the forms that allow edited.
Log Create y y The log create will render the forms that allow create.
Home y y The home will render login/register component.
Layout y y The layout will render children, nav, and footer components.
Footer n n The footer will link to my portfolio and include copyright.

Time Estimates

Task Priority Estimated Time Time Invested Actual Time
Layout M 2 hrs - hrs TBD
Poses H 3 hrs - hrs TBD
Pose Detail H 1 hrs - hrs TBD
Log H 1 hrs - hrs TBD
Log Create H 3 hrs - hrs TBD
Log Edit H 3 hrs - hrs TBD
Home M 3 hrs - hrs TBD
Login/Register H 3 hrs - hrs TBD
TOTAL 19 hrs - hrs TBD

Server (Back End)

ERD Model

ERD Only Yoga



Post-MVP

Create a routines table that allows users to see poses in a routine.


Code Showcase

Use this section to include a brief code snippet of functionality that you are proud of and a brief description.

Code Issues & Resolutions

Use this section to list of all major issues encountered and their resolution.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0