Giter VIP home page Giter VIP logo

react-native-redux-navigation-v2-boilerplate's Introduction

NOTE: If you want to use react-navigation-v3 instead. Then you should use this one: react-native-redux-navigation-v3-boilerplate

A React Native starter kit or boilerplate for starting a project with the help of redux for state management, react-native elements and nativebase for building the UI components and react-navigation-v2 for the routing or navigation.

The project was bootstrapped with react-native init

List of used other libraries used aside from react-native

  1. For state management:
  2. For UI components:
  3. For navigation:

Installation

  1. Clone the project repository https://github.com/jayzyaj/react-native-with-redux-react-navigation-v2-boilerplate

  2. Go inside to the project directory that you have cloned and open the terminal or command line and run npm -i or yarn install to install all the package needed

  3. To link all the libraries and dependencies run react-native link

Usage

If you are using android run the command below

react-native run-android

and if you are using iOS

react-native run-ios

When you run the app it will show you a SplashScreen and it will dispatch a action to restore a session. If a session exist in the storage it will dispatch another action to authenticate the user and redirect it to the HomeScreen or the DrawerNavigator which is the authenticated route or stack. Otherwise if a session session does not exist it will return the LoginScreen or the StackNavigator which is the Unauthenticated route or stack.

In order to navigate to the HomeScreen you need to be authenticated or to sign in. Use the credentials below to sign in:

email: [email protected]

password: 123456

react-native-redux-navigation-v2-boilerplate's People

Contributors

jayzyaj avatar jayzhalcyon avatar

Watchers

James Cloos 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.