Skip to content
React + Ruby On Rails API tic tac toe game
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
client
config
db
lib/tasks
log
public
spec
storage
tmp
vendor
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Tic Tac Toe

Tic Tac Toe game with scoreboard. React front end, Ruby On Rails REST API backend. The frontend component is located in the client folder.

Try it live at: https://obscure-springs-73090.herokuapp.com/ alt text

Requirements

  • Frontend: NodeJS
sudo apt install nodejs -y
  • Backend: Ruby 2.5.3, Rails 5.2.1
\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install 2.5.3
rvm use ruby-2.5.3

Running

  • Open two terminal windows, in the first run:
git clone https://github.com/MiloTodt/tictac.git
cd tictac
gem install rails
bundle install
rake db:setup
rails server -p 3001

alt text

  • In the second terminal, navigate to /tictac/client
npm start

alt text

  • This page should open in your browser alt text
You can’t perform that action at this time.