Giter Site home page Giter Site logo

catalinmiron / react-native-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jhen0409/react-native-boilerplate

1.0 3.0 0.0 165 KB

The React Native, Redux boilerplate for personal usage

License: MIT License

Java 6.50% JavaScript 51.91% Objective-C 32.14% Python 9.45%

react-native-boilerplate's Introduction

React Native Boilerplate Build Status Dependency Status devDependency Status

The React Native, Redux boilerplate for personal usage

Included

Installation

See Getting Started to install requirement tools.

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

Also, you can use generator-rnb to create project with this boilerplate.

Development

Start local server

$ npm start

iOS

Run command to open iOS simulator and run app:

$ npm run ios

Or open ios/RNBoilerplate.xcodeproj file with XCode:

$ npm run ios-open

Android (5.0+)

Open Android emulator (recommented Genymotion) and run command: (Or connect real device via USB)

$ adb reverse tcp:8081 tcp:8081  # react-native local server
$ adb reverse tcp:5678 tcp:5678  # remotedev local server
$ npm run android

[Emulator only] If you're still use Android 4.0, it will cannot use adb reverse, you should use 10.0.2.2 (Genymotion: 10.0.3.2) instead of localhost in configureStore.js.

Test

We used react-native-mock, and test with Mocha, Enzyme.

$ npm test

Credits

LICENSE

MIT

react-native-boilerplate's People

Contributors

catalinmiron avatar jhen0409 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.