Skip to content

PoliticalPenguin/BananaFitness-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Server

API Routes

Workout

  • GET /api/workout/:workout_id (Get a workout by workout_id)
  • POST /api/workout (Create/Update a workout)
  • DELETE /api/workout/:workout_id (Delete a workout by workout_id)

Workouts

  • GET /api/workouts (Get all the workouts)
  • GET /api/workouts/:user_id (Get all the workouts by user_id)

Move

  • GET /api/move/:move_id (Get a move by move_id)
  • POST /api/move (Create/Update a workout)
  • DELETE /api/move/:move_id (Delete a move by move_id)

Moves

  • GET /api/moves (Get all moves)
  • GET /api/moves/:workout_id (Get all moves by workout_id)

User

  • GET /api/user/:user_id (Get a user by user_id)
  • GET /api/user//username/:username (Get a user by username)

Users

  • GET /api/users/ (Get all users)

Follow

  • POST /api/follow (Create a follow)
  • DELETE /api/follow/:user_id/:followee_id (Delete a follow where user_id is currently following followee_id)

Follows

  • GET /api/follows/:user_id (Get all followed users of the passed in user_id)

Authentication

  • GET /auth/signout (Log out and kill session)
  • POST /auth/signin (Sign in)
  • POST /auth/signup (Create a new user)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%