Skip to content

DEFRA/fcp-mpdp-admin

Repository files navigation

fcp-mpdp-admin

Build Quality Gate Status Bugs Code Smells Duplicated Lines (%) Coverage Dependabot

Frontend service for the Making Payment Data Public (MPDP) service. x MPDP is part of the Farming and Countryside Programme (FCP).

Requirements

Docker

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.

Local Development

Setup

Install application dependencies:

npm install

Development

Build the Docker container:

npm run docker:build

Run the application in development mode:

npm run docker:dev

Testing

To test the application:

npm run docker:test

Tests can also be run in watch mode to support Test Driven Development (TDD):

npm run docker:test:watch

npm scripts

All available npm scripts can be seen in package.json To view them in your command line:

npm run

Update dependencies

To 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 group

SonarQube Cloud

Instructions for setting up SonarQube Cloud can be found in sonar-project.properties.

Licence

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

About the licence

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.

About

Git repository for service fcp-mpdp-admin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors