Git Product home page Git Product logo

react-native-expo-boilerplate's Introduction

react-native-expo-boilerplate

react-native-expo-boilerplate

Includes

Development

  1. Install prerequisites (ie: android sdk, nodejs, npm/npx, react-native, expo-cli)
  2. Install dependencies: npm install
  3. Run on android emulator: npm run android --clear

Notes

  • Avoid the Expo-GO-related commands (for Android, at least)
    • Expo GO builds cannot be used for development/deployment because custom native code must be included for BLE (and other) dependencies that are not included in the default build of Expo GO.
    • The commands are included for conventience, and possible future use with web or ios
    • Expo GO can be used if Bluetooth support is not needed and removed from the code

Redux, redux-saga, & redux-persist

Related code:

Location Description
./src/redux/store.ts Redux store configuration
./src/redux/features/* Redux actions and reducers
./src/redux/migrations.ts Redux-persist migrations
./src/redux/sagas/* Redux-saga actions and sagas

Bluetooth (BLE)

Related code:

Location Description
./src/constants/BLE.ts BLE configuration
./src/providers/BluetoothProvider/* Setup listeners for events from BleManager to dispatch redux actions
./src/redux/features/bluetooth/* Bluetooth slice
./src/redux/sagas/bluetooth/* Core BLE async code

TypeORM

Related code:

Location Description
./src/typeorm/entity/* Entity classes (models)
./src/typeorm/migrations/* Database migrations
./src/typeorm/transformer/* TypeORM column transformers
./src/providers/TypeORM/* React context provider and utility hooks

react-native-expo-boilerplate's People

Contributors

cahna 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.