Code Monkey home page Code Monkey logo

videostoreapi's Introduction

I shouldn't ask anyone to do something I'm not willing to do.

So Imma build an API.

Customers

  • Retrive a list of all customers
  • Retrive a subset of customers
    • Given a sort column, return n customer records, offset by p records (this will be used to create "pages" of customers)
    • Sort columns are
      • name
      • registered_at
      • postal_code
  • Given a customer's id...
    • List the movies they currently have checked out
    • List the movies a customer has checked out in the past
      • ordered by check out date
      • includes return date

Movies

  • Retrieve a list of all movies
  • Retrieve a subset of movies
    • Given a sort column, return n movie records, offset by p records (this will be used to create "pages" of movies)
    • Sort columns are
      • title
      • release_date
  • Given a movie's title...
    • Get a list of customers that have currently checked out a copy of the film
    • Get a list of customers that have checked out a copy in the past
      • ordered by customer id
      • ordered by customer name
      • ordered by check out date

Rental

  • Look a movie up by title to see
    • it's synopsis
    • release date
    • and inventory total
  • Know if a movie has any inventory available to rent
  • See a list of customers that have currently checked out any of the movie's inventory
  • Given a customer's id and a movie's title ...
    • "check out" one of the movie's inventory to the customer
      • Establish a return date
      • Charge the customer's account (cost up to you)
    • "check in" one of customer's rentals
      • return the movie to its inventory
  • See a list of customers with overdue movies

videostoreapi's People

Contributors

jnf avatar

Stargazers

Jeri Sommers avatar Loraine Kanervisto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.