{"id":19693875,"url":"https://github.com/jhipster/generator-jhipster-react-native","last_synced_at":"2025-05-15T10:05:34.549Z","repository":{"id":37852058,"uuid":"83939079","full_name":"jhipster/generator-jhipster-react-native","owner":"jhipster","description":"A React Native blueprint for JHipster","archived":false,"fork":false,"pushed_at":"2025-05-14T18:40:58.000Z","size":10614,"stargazers_count":267,"open_issues_count":37,"forks_count":56,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-05-15T10:04:34.556Z","etag":null,"topics":["android","ios","jhipster","jhipster-blueprint","react-native"],"latest_commit_sha":null,"homepage":"https://jhipster-sample-app-react-native.vercel.app/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhipster.png","metadata":{"funding":{"open_collective":"generator-jhipster","custom":"https://www.jhipster.tech/sponsors/"},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-05T02:29:20.000Z","updated_at":"2025-05-08T09:20:43.000Z","dependencies_parsed_at":"2023-02-18T10:31:53.690Z","dependency_job_id":"ace92de4-c4b0-4203-bce9-151b32ddf239","html_url":"https://github.com/jhipster/generator-jhipster-react-native","commit_stats":{"total_commits":1985,"total_committers":21,"mean_commits":94.52380952380952,"dds":0.5335012594458438,"last_synced_commit":"353ad8d1922d6c3679acc71bc2d5f4b3e64a5eab"},"previous_names":["ruddell/ignite-jhipster"],"tags_count":134,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhipster%2Fgenerator-jhipster-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhipster","download_url":"https://codeload.github.com/jhipster/generator-jhipster-react-native/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319719,"owners_count":22051073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ios","jhipster","jhipster-blueprint","react-native"],"created_at":"2024-11-11T19:18:32.036Z","updated_at":"2025-05-15T10:05:34.448Z","avatar_url":"https://github.com/jhipster.png","language":"EJS","funding_links":["https://opencollective.com/generator-jhipster","https://www.jhipster.tech/sponsors/"],"categories":[],"sub_categories":[],"readme":"# JHipster React Native\n\n[![NPM version](https://badge.fury.io/js/generator-jhipster-react-native.svg)](https://npmjs.org/package/generator-jhipster-react-native)\n[![iOS-E2E](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/ios.yml/badge.svg)](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/ios.yml)\n[![Generator](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/generator.yml/badge.svg)](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/generator.yml)\n[![App](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/app.yml/badge.svg)](https://github.com/jhipster/generator-jhipster-react-native/actions/workflows/app.yml)\n\n\u003e A React Native blueprint for [JHipster](http://www.jhipster.tech) apps, complete with authentication, an entity generator, JDL support, E2E tests, and more.\n\n\u003cimg src=\"https://raw.githubusercontent.com/jhipster/generator-jhipster-react-native/9f7665e3cafd6032de4a73d469789855b55a4f33/docs/images/jh-rn-logo.png\" alt=\"JHipster React Native\" height=\"200\"\u003e\n\n\u003e Check out the [blog post](https://dev.to/ruddell/jhipster-react-native-demo-1c54) or [YouTube](https://www.youtube.com/watch?v=zQMg1E7meHw) video for a full demo of JHipster React Native.\n\n## Docs\n\n- [Getting Started](README.md#getting-started)\n- [Generators](docs/generators.md)\n- [Project Structure](docs/project-structure.md)\n- [Distributing and Updating Apps](docs/distributing-and-updating.md)\n- [CLI Flags](docs/cli-flags.md)\n- JHipster Integrations\n  - [OAuth 2.0 and OpenID Connect](docs/oauth2-oidc.md)\n  - [WebSockets](docs/websockets.md)\n- React Native Library Integrations\n  - [Expo](https://docs.expo.io/) - A framework and platform for universal React application\n  - [React Native Web](https://docs.expo.io/workflow/web/) - Run your React Native application in a browser, including PWA support\n  - [Storybook](docs/storybook.md) - Develop UI components in isolation\n  - [Detox](docs/detox.md) - End-to-End Testing and Automation Framework for Mobile Apps\n  - [React Navigation](https://reactnavigation.org/docs/getting-started) - Routing and navigation for your React Native apps\n  - [Redux](https://redux.js.org/basics/usagewithreact) and [Sagas](https://redux-saga.js.org/) - State management\n\n## Getting Started\n\n### Requirements\n\n- Node LTS v20+\n  - Verify version with `node -v`\n- [generator-jhipster-react-native](https://github.com/jhipster/generator-jhipster-react-native) installed\n  - Install with `npm install -g generator-jhipster-react-native`\n- [eas-cli](https://docs.expo.dev/build/introduction/) installed with `npm install -g eas-cli`\n- To run your app on an emulator instead of a device, follow the platform-specific instructions:\n  - [Android](https://docs.expo.dev/workflow/android-studio-emulator/)\n  - [iOS](https://docs.expo.dev/workflow/ios-simulator/)\n- JHipster backend must use `jwt` or `oauth2` for its `authenticationType`\n\n### Usage\n\n#### Generate React Native app from JHipster app\n\nCreate a JHipster app using `jhipster`, or a backend-only with `jhipster --skip-client`.\n\nCreate a directory alongside your JHipster app (ex. `client`), and run `rnhipster` in it.\n\n```bash\n+ rootDir/\n  + backend/ # run `jhipster` in it.\n  + client/  # run `rnhipster` in it.\n```\n\nAnswer the prompts:\n\n- Enter the path to your JHipster app (default: `../backend`)\n- Choose whether to enable E2E Detox Tests\n\n#### Generate JHipster app and React Native app at the same time\n\nYou can also create a JHipster app and a React Native app at the same time using the following command:\n\n```bash\njhipster jdl bug-tracker.jdl --blueprints react-native\n```\n\nAnswer the prompts:\n\n- Enter the path to your React Native app (default: `../client`)\n\nFor available options, you can run:\n\n```bash\nrnhipster app --help\n```\n\n### Configuration\n\n- `app/config/app-config.js` contains your JHipster API URL (default: `http://localhost:8080/`)\n\n#### CORS\n\n- In dev, for the Web build, add `http://localhost:8081` as an allowed origin in the backend CORS config.\n- In production, you will need to enable CORS for your deployment domain.\n\n#### Notes for Android\n\n- 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.\n\n# License\n\nApache-2.0 © [Jon Ruddell](https://jruddell.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhipster%2Fgenerator-jhipster-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhipster%2Fgenerator-jhipster-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhipster%2Fgenerator-jhipster-react-native/lists"}