Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowuake/pdnd-anpr-demo
An example showing how to access e-services exposed through PDND Interoperabilità via NodeJS / TypesScript.
https://github.com/cowuake/pdnd-anpr-demo
Last synced: about 1 month ago
JSON representation
An example showing how to access e-services exposed through PDND Interoperabilità via NodeJS / TypesScript.
- Host: GitHub
- URL: https://github.com/cowuake/pdnd-anpr-demo
- Owner: cowuake
- License: bsd-3-clause
- Created: 2024-01-10T17:24:02.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-03T06:45:20.000Z (9 months ago)
- Last Synced: 2024-04-03T07:40:51.437Z (9 months ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDND-ANPR-Demo
An example showing how to access e-services exposed through [PDND Interoperabilità](https://www.interop.pagopa.it/) via Node.js / TypesScript.
## Targeted e-service
The `accertamentoEsistenzaVita` e-service by ANPR is targeted.
## Configuration
A `config.json` file must be present in the root folder in order to run the example. a `configTemplate.json` file is provided as a guideline.
## How to run the example
### Prerequisites
#### Node.js
A recent version (tested on v20.10.0) of the [Node.js](https://nodejs.org/en) runtime is expected to be already installed on your machine.
#### TypeScript
You shouldn't need to perform any particular operation, but who knows...
### RUN
In the root folder, execute the following commands:
1. `npm install`
2. `npx ts-node ./src/app.ts`Enjoy!
### Improved QoL
Were you in need of inspecting the program execution, and well accustomed to VSCode, all is provided for a basic debug.