-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
grantpaulson6 edited this page Apr 28, 2019
·
5 revisions
- GET /
Users
- GET /api/users
- user info, reviews of user info
- POST /api/users
- create new user
Session
- POST /api/session
- login
- DELETE /api/session
- logout
Listings
- GET /api/listings
- sent with filters slice of state (location, date, guests price), returns listings info
- GET /api/listings/:listingsId
- returns all info on listing, all of the listing's bookings, and all of the listing's reviews