Make sure you have Node.js.
$ git clone https://github.com/MikhailSemichev/xo123.git
$ cd xo123
$ npm install
$ npm start
Service will now be running on http://localhost:3333/.
$ cd ReactApp
$ npm install
$ npm start
Web-site will now be running on http://localhost:3000/. It communicates with Node Express Web Service http://localhost:3333/ via web-sockets.
How to deploy NodeJS on Heroku Tutorial
$ npm run build_h
commit_and_push_you_code_to_git_repository
Install Cordova https://cordova.apache.org/docs/ru/latest/guide/cli/
$ cd MobileApp
$ npm install -g cordova
Install Android SDK (and/or iOS SDK). https://developer.android.com/studio/index.html
Install JDK (Java Development Kit)http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install platforms:
$ cordova platform add browser
$ cordova platform add android
Run in Android emulator (as example):
$ cordova run android
Do not forget to run "$ npm run build" or "$ npm run build_h" to make sure that ReactApp/build folder copied to MobileApp/www folder
Install Electron:
$ cd ElectronApp
$ npm install -g electron
$ npm install
$ npm start
Do not forget to run "$ npm run build" or "$ npm run build_h" to make sure that ReactApp/build folder copied to ElectronApp/www folder
For more information on technologies: