/cordova-react-redux-boilerplate

A boilerplate including react, redux, react-router, webpack, cordova

Primary LanguageCSSMIT LicenseMIT

React, Redux, Ratchet, Cordova boilerplate

What's included

  • React
  • React router, React redux router
  • Redux, Redux Thunk, Redux Logger
  • Webpack, Webpack dev server
  • Ratchet (scss)
  • Cordova

Usage

Note: If you are using a windows OS, edit package.json and replace export command with SET. export is only valid in unix OS.

  • npm install to install packages
  • change config.xml ot match the project information
  • remove http://localhost:3200/ from index.html in production mode

Scripts

  • server: runs a local server on localhost:3200
  • build:webpack: build webpack modules to production mode
  • build:cordova: builds a debug version of android application
  • run:cordova: runs cordova debug application on connected device or emulator
  • build:cordova:release: builds android application in release mode

License

The project is MIT licensed.