Giter Site home page Giter Site logo

sureup-backend-interview's Introduction

Sureup Backend Exercise

Goals: Build an api to serve a list of Year Make and Model combinations.

Go to http://developer.edmunds.com/ and sign up for an api key.

Build a server that responds to:

GET /vehicles/year.json

and returns an array of years available ( as strings ) i.e.

[
  '2012',
  '2013',
  '...'
]

GET /vehicles/2012/make.json

Which returns an array of all the manufactures who made cars in 2012

[
 'Honda',
 'Toyota',
 'Ford',
 '...'
]

GET /vehicles/2012/toyota/models.json

Which returns all the models made by Toyota in 2012.

[
  'Celica',
  'Camry',
  '...'
]

GET /vehicles/2012/toyota/camry/trim.json

Which returns the different trims a 2012 Toyota Camry was made in.

[
 'XLE',
 'LE',
 '...'
]

GET /vehicles/2012/toyota/camry/xle/price.json

Which returns the price of a 2012 Toyota Camry.

Let's pretend our API is awesomely popular and we get 5000 hits per second. Edmunds is now rate limiting us which affects our users. How would you solve this problem?

sureup-backend-interview's People

Contributors

kaorudev 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.