/react-cross-platform-boardgame-example

This is an example app that shows off a web, ios and android app with the same codebase using ReactJS, react-native, redux, webpack, babel, express and socket.io

Primary LanguageJavaScriptMIT LicenseMIT

react-cross-platform-boardgame-example

This is an example app that shows off a web, ios and android app with the same codebase using ReactJS, react-native, redux, webpack, babel, express and socket.io

Installation

Install Node.js 5 or newer (I use 5.3.0)

npm install -g react-native-cli

git clone https://github.com/tosFa/react-cross-platform-boardgame-example 

cd react-cross-platform-boardgame-example

npm install

Start the server

npm run start

Start the hot reloaded web client

npm run start-web

Start the ios client

react-native run-ios

Start the android client

react-native run-android