Skip to content

A boilerplate for building apps with React Native, with a demo of handling REST API requests using redux-saga.

License

Notifications You must be signed in to change notification settings

tranhoangduong1994/react-native-boilerplate

Repository files navigation

react-native-boilerplate

What is it?

A boilerplate for React Native projects, with these following libraries integrated:

Development libraries:

Testing libraries:

Other supporting libraries:

  • Babel
  • Flow

How to run

To run the client app:

  1. Install javascript dependencies
yarn
  1. Run the app
iOS
react-native run-ios
Android
react-native run-android

To start off the mock API server:

  1. Install json-server
yarn global add json-server
  1. Run this command from the project root folder (which contains the db.json file)
json-server --watch db.json