*Easy sign up page.
*Login options with demo login
*Renders all the workout plans.
*My profile page with my workout plans and following workout plans.
*View work out plan.
*Can create workout plan.
- The project runs a React/Redux frontend.
- Material-UI
- The Backend uses Express and S3 with postgreSQL.
Athlete101 is a online platform that allows users to create workout plans. User can simply create workout with given exercises and follow others. In My101, users can manage their plans and following plans.
the MVP for this website encompasses the following:
- Login/Sign-up
- Users can login as a demo account.
- Users can create account in sign-up page.
- Main Browser
- Show all the plans users created including others users.
- each card shows users's name, avator, and short description.
- users can click view detail.
- users can follow workout plans
- Plan
- Show the detail of the plan along with associating exercises.
- Can create and delete workout plans that belowing to the user.
- Can floow other user's workout plan and navigate to that from my profile.
- Review
- Can submit review with rating.
To get a local copy up and running follow these simple steps.
Express, react, s3...
-
Clone the repo
git clone https://github.com/southpeter77/athlete-101 git clone https://github.com/southpeter77/backEnd101
-
Install NPM packages
npm install
-
Create your postgres database and connect it to the app.
-
run backend at the root level
npm start
-
cd into Client directory to run frontend
npm start
-
browser will open automatically.
One User can have an amazing workout plan that should be shared with others. Using this platform, anyone can join and create their own workout plan, follow other's and review each others.
Path | HTTP Verb | Meaning |
---|---|---|
/ | GET | Login |
/signup | GET | Sign up page |
/plan/:id | GET | Show all the exercise belong to this plan |
/myProfile | GET | Show my profile |
/myProfile/createPlan | GET | Create workout Plans |
Path | HTTP Verb | Meaning |
---|---|---|
/api/user/ | PUT | Log In |
/api/user/:id | GET | Get information of this User |
/api/user/signup | POST | Create User's account and sign in |
/api/review/ | PUT | Get reviews for certain Plan |
/api/review/submit | POST | Create review for the plan |
/api/profile/aboutme | PUT | Get information about me |
/api/plan/:id | GET | Get information about the Plan |
/api/plan/create | POST | Create Plan |
/api/plan/delete | DELETE | Delete Plan |
/api/plan/top | GET | Get top Plans |
/api/plan/myplan | GET | Get my Plans |
/api/images/all | GET | Get all the images |
/api/images/upload | PUT | Upload images |
/api/exercise/all | GET | get all the exercises |
/api/exercise/create | POST | Create an exercise |
/api/exercise/delete | DELETE | Delete an exercise |
state={
user,
plan,
profile,
category,
exercise,
exerciseFormDetail,
review,
following,
images
}