Backend Routes - SethUllman/NetClips GitHub Wiki
Backend Routes
HTML
- GET / StaticPagesController#root
API Endpoints
users
- POST /api/users -sign up
session
- POST /api/session -sign in
- DELETE /api/session -sign out
movies
- GET /api/movies -all movies
- GET /api/movies/:id -single movie
my_list
- POST /api/my_list -adds to my_list
- GET /api/my_list -return all movies in my_list
- DELETE /api/my_list/:id -removes a movie from my_list