Please see a working version of the game here.
This project was bootstrapped with Create React App.
The Backgammon is a React client application. It makes requests to the Backgammon Api.
Prerequisites: Node > 4
To install:
$ git clone [email protected]:danialm/backgammon.git
$ cd backgammon
$ npm instal
$ touch .env
$ echo REACT_APP_BACKEND=http://localhost:3000/api/v1/ >> .env
You might need to replace localhost:3000
with the domain of your running API. For example, to run against production use guarded-depths-69338.herokuapp.com
.
To run:
$ npm start
To build:
$ npm run build