An open API service indexing awesome lists of open source software.

https://github.com/jhen0409/react-native-boilerplate

The React Native, Redux boilerplate for personal usage
https://github.com/jhen0409/react-native-boilerplate

Last synced: 17 days ago
JSON representation

The React Native, Redux boilerplate for personal usage

Awesome Lists containing this project

README

          

# React Native Boilerplate

[![Build Status](https://travis-ci.org/jhen0409/react-native-boilerplate.svg)](https://travis-ci.org/jhen0409/react-native-boilerplate)
[![Dependency Status](https://david-dm.org/jhen0409/react-native-boilerplate.svg)](https://david-dm.org/jhen0409/react-native-boilerplate)
[![devDependency Status](https://david-dm.org/jhen0409/react-native-boilerplate/dev-status.svg)](https://david-dm.org/jhen0409/react-native-boilerplate?type=dev)
[![Greenkeeper badge](https://badges.greenkeeper.io/jhen0409/react-native-boilerplate.svg)](https://greenkeeper.io/)

> The React Native, Redux boilerplate for personal usage

## Included

* [React](https://github.com/facebook/react) &
[React Native](https://github.com/facebook/react-native)
* [React Navigation](https://github.com/react-community/react-navigation)
* [Redux](https://github.com/reactjs/redux) &
[Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools) &
[On Debugger](https://github.com/jhen0409/remote-redux-devtools-on-debugger)
* [Immutable](https://github.com/facebook/immutable-js)
* [Babel](https://github.com/babel/babel) & Plugins:
[transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy)

## Installation

See
[Getting Started](https://facebook.github.io/react-native/docs/getting-started.html)
to install requirement tools.

```bash
$ npm install -g react-native-cli
$ npm install
```

Also, you can use [generator-rnb](https://github.com/jhen0409/generator-rnb) to
create project with this boilerplate.

## Development

#### Start local server

```bash
$ npm start
```

#### iOS

Run command to open iOS simulator and run app:

```bash
$ npm run ios
```

#### Android (5.0+)

Open Android emulator (recommended [Genymotion](https://www.genymotion.com)) and
run command: (Or connect real device via USB)

```bash
$ npm run android
```

## DevTools

In development mode, you can install
[React Native Debugger](https://github.com/jhen0409/react-native-debugger) as
default debugger. if not install, it will use
[Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools) and
[RemoteDev RN Debugger](https://github.com/jhen0409/remotedev-rn-debugger).

## Test

```bash
$ npm test
```

## Credits

* [react-native-counter-ios-android](https://github.com/chentsulin/react-native-counter-ios-android)'s
counter example.

## LICENSE

[MIT](LICENSE)