Skip to content

Ada-C13/video-store-consumer-api

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 90.3%
  • HTML 7.7%
  • JavaScript 2.0%