generator-jhipster-ionic3.3.0 • Public • Published
Ionic for JHipster
A JHipster Module that generates an Ionic Client
This is a JHipster module. You can use it to generate an Ionic app that talks to a JHipster backend. It uses the Ionic JHipster Starter as a base template, then applies functionality (e.g. entity generation) on top of it.
To learn more about this module, see Use Ionic for JHipster to Create Mobile Apps with OIDC Authentication.
As this is a JHipster module, we expect you to have an existing JHipster app and Ionic already installed.
npm i -g generator-jhipster ionic
To install this module:
npm install -g generator-jhipster-ionic yo
To update this module:
npm update -g generator-jhipster-ionic
Create a JHipster app using
yo jhipster, or a backend-only with
yo jhipster:server. Choose
OAuth 2.0 as the authentication type.
In a directory alongside your JHipster app, run this module. This will create an Ionic app for you and install the necessary JHipster files for it to communicate with the backend.
To generate entities, run
yo jhipster-ionic:entity <name>.
You can run unit tests with:
And e2e tests with:
npm run build --prod && npm run e2e
See the testing section of the Ionic JHipster Starter for more information.
Apache-2.0 © Okta