A React Native boilerplate for JHipster apps, complete with authentication, an entity generator, E2E tests, and more.
For a quick tour, check out the Sample Application for Android, the YouTube Demo or the blog post.
Uses the following libraries:
- Ignite - Infinite Red's React Native app generator
- React Native Navigation - A complete native navigation solution
- Redux and Sagas - State management
- React Native Vector Icons - Icons from Ionicons, Font Awesome, and more
- Detox - End-to-End Testing and Automation Framework for Mobile Apps
- Getting Started
- App Config Variables
- Generators and Plugins
- Project Structure
- OAuth2 OIDC Login
- Websockets
- Upgrading Your Ignite JHipster App
- Advanced Usage
- Node v8+
- Verify version with
node -v
- Verify version with
- React Native setup
- ignite-cli installed (>= v2.0.0)
- Install with
npm install -g ignite-cli - Verify version with
ignite --version
- Install with
- OAuth2 iOS apps require Cocoapods to be installed
- Not required but highly recommended, Reactotron makes debugging super simple and comes preconfigured
To generate an app, run the following command:
ignite new SampleApp --boilerplate ignite-jhipsterAnswer the prompts, entering the path to your JHipster app and choosing any plugins you want. The generator will create a new directory containing the project (preconfigured for both iOS and Android).
After generating, you can use the entity generator, JDL importer, and other commands.
Note: When running your JHipster backend locally for Android, make sure to run adb reverse tcp:8080 tcp:8080 so the app can communicate with your backend.
