Backend Routes - StevelandOH/dogwlkr GitHub Wiki

users

return the current user's information GET /api/users
signup POST /api/users

session

login POST /api/session
logout DELETE /api/session

activities

return activities based on params GET /api/activities
create an activity POST /api/activities
update an activity PATCH /api/activities
delete an activity DELETE /api/activities/:id

pets

return pet based on params GET /api/pets
create a pet POST /api/pets
update a pet PATCH /api/pets/:id
delete a pet DELETE /api/pets/:id

mapped routes

return routes based on params GET /api/routes
create a route POST /api/routes
return a route GET /api/routes/:id
update a route PATCH /api/routes/:id
delete a route DELETE /api/routes/:id