Skip to content

what started as a coding challenge and then was developed into a full on wtf, lets do it

Notifications You must be signed in to change notification settings

alexanderames/bcc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run API

Clone Repo then..

rails db:create
rails db:migrate
rails db:seed

Test

run rspec $ rspec

Boot up

bundle install rails server

Query DB

http://localhost:3000/graphiql

to query all vehicles, makes and models

  makes {
    name
    models {
      name
      options {
        color
        doorCount
        drivetrain
        fuelType
        style
        transmission
      }
    }
    vehicles {
      plateState
      year
      vin
    }
  }
}

Note

If you are looking for more indepth, parsed out commits, the original API was developed under the repo Vehicle API and then improved upon in this repository.

About

what started as a coding challenge and then was developed into a full on wtf, lets do it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published