Coder Social home page Coder Social logo

ets-reactnative1 / react-native-boiler-plate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trixtateam/react-native-boiler-plate

0.0 0.0 0.0 3.15 MB

A React Native project template for building solid applications keeping the state, selectors, sagas together with a screen.

License: MIT License

JavaScript 87.30% Ruby 1.92% Objective-C 2.86% Java 1.80% Handlebars 5.70% Starlark 0.41%

react-native-boiler-plate's Introduction

react native boilerplate banner


GitHub Release Date GitHub last commit GitHub commit activity GitHub commits since latest release GitHub top language

Start your next react native project in seconds



Created by Jacques Nel.
Integrating React Native with Phoenix Channels

Features

Quick scaffolding
Create components, containers, navigators, selectors and sagas - and their tests - right from the CLI!
Instant feedback
Enjoy the best DX (Developer eXperience) and code your app at the speed of thought! Your saved changes to the styles and JS are reflected instantaneously without refreshing the app. Preserve application state even when you update something in the underlying code!
Predictable state management
Unidirectional data flow allows for change logging and time travel debugging.
Next generation JavaScript
Use template strings, object destructuring, arrow functions, JSX syntax and more.
Redux Integration
Use template strings, object destructuring, arrow functions, JSX syntax and more.
Redux Saga Integration
Executing logic in an asynchronous way without ending in callback hell. Sagas are triggered by Redux actions and can also trigger Redux actions to alter state. By using JavaScript generators (`yield`), sagas are written in a synchronous-like manner while still executing asynchronously.

Quick start

  1. Make sure that you have Node.js v8.10 and npm v5 or above installed.
  2. Follow the getting started guide
  3. Clone this repo using git clone --depth=1 https://github.com/trixtateam/react-native-boiler-plate.git <YOUR_PROJECT_NAME>
  4. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  5. Run npm run install in order to install dependencies and clean the git repo.

Android

  • only the first time you run the project, you need to generate a debug key with:
    • cd android/app
    • keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
    • cd ../.. to come back to the root folder
  • npm run start to start the metro bundler, in a dedicated terminal
  • npm run android to run the Android application (remember to start a simulator or connect an Android phone)

iOS

  • cd ios
  • pod install to install pod dependencies
  • cd .. to come back to the root folder
  • npm run start to start the metro bundler, in a dedicated terminal
  • npm run ios to run the iOS application (remember to start a simulator or connect an iPhone phone)

Now you're ready to rumble!

Documentation

Supporters

License

This project is licensed under the MIT license, Copyright (c) 2019 Jacques Nel. For more information see LICENSE.md.

react-native-boiler-plate's People

Contributors

bardiaalavi-2020 avatar jacques-trixta avatar jacqueswho 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.