JS client for stupid mmo funny game Gauche ou Droite ?
You can find the server (REST API) here: https://github.com/plastocman/gauche-ou-droite
First, make sure npm dependancies are installed with:
$ npm i
Be sure the tests are ok:
$ npm test
Then you can run the app:
$ npm start
You may need to specify the url and/or port your rest api is serving on. Go in src/index.js and modify the following line to replace the url with the one you need:
const API_URL = 'http://localhost:5000'
Note: Don't end your url with a slash '/': Set 'localhost:4242' instead of 'localhost:4242/'.