Skip to content

GuttermanA/wheel-of-fortune-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wheel of Fortune Backend

This is a Rails API that contains 80 phrases with categories for a Wheel of Fortune web application. The frontend built for this API can be found here. The live version of this application can found here.

Routes

GET /phrases

Returns one random phrase from the database.

POST /score_boards

Creates a score board entry in the database with the params of name and score. Returns the first five scores in the database.

Installing

  1. Clone repository from GitHub
  2. Open terminal
  3. Navigate to the repository directory
cd wheel-of-fortune-backend
  1. Install gems
bundle install
  1. Setup database
rake db:setup
  1. Start server
rails s

Built With

Contributing

  1. Fork repository here
  2. Create new branch for your feature
git checkout -b my-new-feature
  1. Add and commit your changes
git commit -am 'Add some feature'
  1. Push to your branch
git push origin my-new-feature
  1. Create new pull request

Authors

License

MIT © Alexander Gutterman and Matt Jackson