Tic Tac Toe game with scoreboard. React front end, Ruby On Rails REST API backend.
Try it live at: https://obscure-springs-73090.herokuapp.com/
- 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
gem install rails
- Open two terminal windows, in the first run:
git clone https://github.com/MiloTodt/tictactoe.git
cd tictactoe
cd backend
bundle install
rake db:setup
rails server -p 3001
- In the second terminal, navigate to /tictactoe/frontend
cd frontend
npm start