Skip to content
Alspirid edited this page Jan 31, 2018 · 8 revisions

Session

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

Users

  • POST /api/users - sign up
  • GET /api/users/:userId - dashboard

Reviews

  • POST /api/reviews
  • PATCH /api/reviews/:id
  • DELETE /api/reviews/:id

Location

  • /api/locations/:id - information about specific location

Booking

  • GET /api/booking/index - returns all bookings
  • GET /api/booking/:id - show page for a particular booking
  • PATCH /api/booking/:id - update booking

Frontend Routes

  • /login
  • /signup
  • /locations/:id - location show
  • /profile
  • /homepage
Clone this wiki locally