Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.09 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.09 KB

VideoStoreAPI

This Video Store API implementation is based on the Video Store API project that you have previously completed.

Set Up Notes

You will need to acquire an API key from The Movie Database before you can run this project and this includes seeding the database.

Functionality

This API comes pre-packaged with most of the functionality that you will require. The following endpoints are impemented, based off of the primary and optional requirements of the project.

Customers

GET /customers

List all customers

Movies

GET /movies

List all movies in the rental library

GET /movies?query=<search term>

Search for movies in the external Movie DB

GET /movies/:title

Show details for a single movie by title

Rentals

POST /rentals/:title/check-out

Check out one of the movie's inventory to the customer. The rental's check-out date should be set to today.

POST /rentals/:title/return

Check in one of a customer's rentals

GET /rentals/overdue

List all customers with overdue movies