Skip to content

Backend Routes

grmreyes edited this page Apr 6, 2021 · 2 revisions

HTML

  • GET / StaticPagesController#root

API Endpoints

users

  • POST /api/users - sign up

session

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

movies

  • GET /api/movies - returns relevant movies, according to search
  • GET /api/movies/:id - returns movie

genres

  • GET /api/genre/:id - returns movies in given genre
Clone this wiki locally