1.1.16 • Published 6 months ago

@bpost/bp-address-auto-complete-by-component-demo-application v1.1.16

Weekly downloads
10
License
-
Repository
-
Last release
6 months ago

AAC9Widget

Pre requisites:

As this application is an aungular application (angular >= 13.0.0), you should have angualr installed before being able to execute it.

API Keys

The autocomplete urls will need API keys. i.e, A http requst header called x-api-key needs to be added in the http request. apiKey is added as a scope variable for directive bp-lib-address-autocomplete-by-component. Please request addressvalidation@bpost.be to generate a API key for your application.

Running the demo

This application is a demo about using the address component widget (i.e. aac9 widget), which is available from another package published in the bpost npm repository. (see https://www.npmjs.com/org/bpost).

When this package has been installed, just copy the source code of the demo app from the node_modules directory (.../node_modules/@bpost/bp-address-auto-complete-by-component-demo-application ) to an empty directory. Just install the packages using npm:

npm i

In case of any issue, you can force the installation:

npm i --force

After having installed the package, you can run it using the ollowing command:

ng serve --port 4217 -o

This will automatically open your default browser once the application has been compiled.