/hangman-backend

This is a Rails API, allowing creation and getting games and player data from /games and /players endpoints. Also fetching words from the /words.

Primary LanguageRubyMIT LicenseMIT

HangMan

Welcome to Hangman a Single Page Application, with a Rails API emulates one the popular games of all time.

Installation

  • Clone this repo

  • Install all the gems via

     $bundle install
    
  • First, create the database via

    $rails db:create
    
  • Migrate database via

    $rails db:migrate
    
  • Use seed data to view all features of the app.

    $rails db:seed
    
  • Start your server

    $rails server
    
  • visit local host in your browser to view endpoints:

  http://localhost:3000/players
  http://localhost:3000/words
  http://localhost:3000/games

Contributing

This project is intendent to be safe, welcoming space of collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct

License

This project has been licensed under the MIT open source license.

Acknowledgement

Thanks gifcap.dev for the use of Gif maker. Thanks Canva for the images.

Author(s)