Skip to content

API Routes

Ethan Browning edited this page Aug 11, 2022 · 9 revisions

Home

  • GET / browse all Locations

Auth/Users

  • GET /signup
  • POST /signup
  • GET /login
  • POST /login

Locations

  • GET /locations get all locations
  • POST /new_location create a new location
  • GET /locations/:id get a specific location
  • PUT /locations/:id edit a location
  • DELETE /locations/:id delete a location

Reviews

  • POST /reviews/:locationId create review on location
  • GET /reviews/:locationId get reviews for location
  • PUT /reviews/:locationId/ edit review for location
  • DELETE /reviews/:locationId/ delete review for location
Clone this wiki locally