this project contains a FE of the area reserved for citizens. It allows you to consult open debt positions and consult the history of those already paid. It also allows the payment of open positions without manual data entry.
In order to build and run this project are required:
The table below describes all the Environment variables needed by the application.
| Variable name | Description | type | |
|---|---|---|---|
| APIHOST | API service host | url | |
| API_TIMEOUT | after this time API requests will be cancelled | number | |
| ENTITIES_LOGO_CDN | cdn link for logos | url | |
| LOGIN_URL | Link for login button | url | |
| DEPLOY_PATH | deploy subpath (default "/cittadini") | string | |
| ENV | env target (used in conditional evaluations) | string | 'DEV' |
| VERSION | active version (valued by pipeline, debug purpose) | string (branch:commit-hash) | |
| RESOURCES_URL | template URL/path for legal resources (supports placeholders) | string | |
| RECAPTCHA_SITE_KEY | reCAPTCHA v2 invisible site key (leave empty if disabled) | string |
- Clone the repo
git clone https://github.com/pagopa/pagopa-arpu-fe.git
- Install node packages
yarn install
- Build
yarn build
In order to run the application on a local dev server with mock API responses:
yarn devthe application is available at http://localhost:1234