Note: This is a typical web application used to show how to integrate HalloID Web SDK in the source code.
This project is bootstrapped by aurelia-cli.
For more information, go to https://aurelia.io/docs/cli/cli-bundler.
To be able to login with HalloID, you must set your CLIENT_URL and CLIENT_ID
in the HalloIDWebSDK constructor (login service)
this.halloClient = new HalloIDWebSDK("CLIENT_URL", "CLIENT_ID");Run au run, then open http://localhost:8090
To open browser automatically, do au run --open.
To change dev server port, do au run --port 8888.
To change dev server host, do au run --host 127.0.0.1
PS: You could mix all the flags as well, au run --host 127.0.0.1 --port 7070 --open
Run au build --env prod.
Run au test (or au jest).
To run in watch mode, au test --watch or au jest --watch.
This is as simple as running a command:
yarn docker:build or npm run docker:build
if you want to bring up an instance on your machine run:
yarn docker:start or npm run docker:build
to stop the previously started instance:
yarn docker:stop or npm run docker:stop
This projects uses Material Web Components as template standard for HalloID platforms. The integration is made with the library Aurelia MDC.
This project is configured to work with Aurelia MDC plugin, so is recommended to fork the current repository and start creating the new web application from this template to avoid re-configure the plugin.