Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 484 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 484 Bytes

Tic-Tac-Toe Sinatra API

This is a tic-tac-toe API which uses my tic_tac_toe_wp ruby gem and Sinatra to facilitate the gameplay. This is the back-end to the a forthcoming React front-end.

Setup

  1. Ensure Ruby is installed on your machine with a package manager of your choice
  2. Run gem install tic_tac_toe_wp
  3. Run bundle install

How to run the API

  1. Run $ rackup -p 4567
  2. View at http://localhost:4567

Testing

  1. Run rspec for to run the test suite