/petitbus_mobile

React Native POC of the PetitBus application

Primary LanguageJavaScriptMIT LicenseMIT

Welcome to the future !

React Native POC of the PetitBus application

Getting started

  1. Download the app on your machine
    git clone git@github.com:happy-dev/petitbus_mobile.git

  2. Install dependencies
    Run the following command from the project root :
    npm install

  3. Launch NodeJS server locally
    In a Terminal tab, from the project root, run :
    react-native start
    If you do not have the react-native command installed, please follow this Getting Started from the official website.

  4. Android
    To launch the app, either in a simulator or on a connected device, run the following command from the project root :
    react-native run-android


To access the developer's menu, enter the following command line once the app is launched :
`adb shell input keyevent 82`
In `Dev Settings > Debug server host & port for device`, dev setting is probably `localhost:8081`.
`Hot Reloading` should be enabled.