This project is an Azure Function to implement the microservice for Donations.
This service is called by GPS
See the OpenApi 3 here.
- Node JS (👀
.node-version
file) - Azure Functions Core Tools
- npm or yarn
To start locally:
- Create a
local.settings.json
file (👀local.settings.json.example
) - Install dependencies:
yarn install
- Then start the function:
yarn start
Use /api-test/local-curl.sh
to try the HTTP function
Alternatively you can use Docker to run locally:
docker-compose up
To run the unit tests and get the coverage:
yarn test:local
Made with ❤️ by PagoPa S.p.A.
See CODEOWNERS
file