Frontend service for the Making Payment Data Public (MPDP) service. x MPDP is part of the Farming and Countryside Programme (FCP).
This application is intended to be run in a Docker container to ensure consistency across environments.
Docker can be installed from Docker's official website.
Install application dependencies:
npm installBuild the Docker container:
npm run docker:build
Run the application in development mode:
npm run docker:devTo test the application:
npm run docker:testTests can also be run in watch mode to support Test Driven Development (TDD):
npm run docker:test:watchAll available npm scripts can be seen in package.json To view them in your command line:
npm runTo update dependencies use npm-check-updates:
The following script is a good start. Check out all the options on the npm-check-updates
ncu --interactive --format groupInstructions for setting up SonarQube Cloud can be found in sonar-project.properties.
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
The following attribution statement MUST be cited in your products and applications when using this information.
Contains public sector information licensed under the Open Government license v3
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.