Skip to content

Backend Routes

grantpaulson6 edited this page Apr 28, 2019 · 5 revisions

HTML

  • GET /

API Endpoints

Users

  • GET /api/users
    • user info and reviews of user info
  • POST /api/users
    • create new user

Session

  • POST /api/session
    • login
  • DELET /api/session
    • logout

Listings

  • GET /api/listings
    • sent with filters slice of state, returns listings info
  • GET /api/listings/:listingsId

Clone this wiki locally