Skip to content
Brice Powell edited this page Dec 28, 2017 · 2 revisions

Frontend ROUTES

  • /login
  • /signup
  • /workouts - workout index, homepage
  • /workouts/:workoutId - workout show page
  • /workouts/new - create workout
  • /routes - routes index
  • /routes/:routeId/new -create a route
  • /routes/:routeID/ - route show

Backend ROUTES

HTML

  • GET / StaticPagesController#root

users

  • POST /api/users - signs a user up

Session

  • POST /api/session - log in
  • DELETE /api/session - log out

Workouts

  • GET /api/workouts - returns relevant workouts
  • GET /api/workouts/:workoutId - returns a workout
  • POST /api/workouts - creates a workout

Routes

  • GET /api/routes - returns relevant routes
  • GET /api/routes/:routeId - returns a route
  • POST /api/routes - creates a route
Clone this wiki locally