Skip to content

Conversation

@lo-k
Copy link

@lo-k lo-k commented Sep 25, 2015

Here is our completed VideoStoreAPI project.

Please reference the 'endpoints.md' file to see documentation about all of our endpoints and the various query options that are available with each.

Edge cases we did not account for:
-Our 'checkout' function does not take into account whether a movie has available inventory or not. The movie inventory_avail number will go negative if you rent a movie with 0 units available.

Also, please read the note at the top of the README, which describes how to set up your local version of a test.db so that you can run our tests.

Thank you for your feedback!

lo-k and others added 30 commits September 17, 2015 13:19
WIP querying multiple times to movies db for customer renting and rented info
lo-k and others added 30 commits September 22, 2015 15:28
… the movie inventory_avail and customer account_credit. We are having to use test movie.title and customer.name now though because we haven't figured out how to execute that many queries at once. Working on that next.
…s name and movie's title before making the rental insert.
…nventory +1 and will update the rental record with a return_date of now.
…ts returned. Now called rental_history instead of just rental.
…o tell future users how to setup their test db before running our tests.
…hat it uses a different db when testing vs during development.
…ovie endpoint. We moved checking rentals into the rentals controller.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants