mcornejo / maintain-a-trust-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maintain a trust frontend

This service is responsible for navigating the user to maintain various aspects of their trust registration. It acts as the 'hub' which allows the user to navigate to other areas of the service, such as: trustees, beneficiaries etc.

To run locally using the micro-service provided by the service manager:

sm2 --start MAINTAIN_TRUST_ALL

Or

sm2 --start REGISTER_TRUST_ALL

If you want to run your local copy, then stop the frontend ran by the service manager and run your local code by using the following (port number is 9788 but is defaulted to that in build.sbt).

sbt run

Use the following command to run your local copy with the test-only routes:

sbt run -Dapplication.router=testOnlyDoNotUseInAppConf.Routes

Testing the service

This service uses sbt-scoverage to provide test coverage reports.

Use the following commands to run the tests with coverage and generate a report.

Run this script before raising a PR to ensure your code changes pass the Jenkins pipeline. This runs all the unit tests with scalastyle and checks for dependency updates:

./run_all_tests.sh

License

This code is open source software licensed under the Apache 2.0 License.

About

License:Apache License 2.0


Languages

Language:Scala 89.6%Language:HTML 6.3%Language:Cycript 3.7%Language:JavaScript 0.3%Language:SCSS 0.1%Language:Shell 0.0%