Skip to content

matehuslucena/bowling-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby rails

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published