BOWLING API
An API to manage a bowling game.
To use the API make a clone or fork of this repository and run
$ bundle install
After install dependencies, run
$ rake db:create db:migrate
To create the database
And to start the server and access the application, run
$ rails server
To start a new game do a POST request to
http://localhost:3000/v1/games
To register a new throw do a PUT request to
http://localhost:3000/v1/games/:game_id?knocked_pins=:number_of_knocked_pins
To check scores of a game do a GET request to
http://localhost:3000/v1/games/game_id
To execute the test, just run
$ rspec