This is the frontend microservice for the Vaping Duty service.
Backend: https://github.com/hmrc/vaping-duty
Account: https://github.com/hmrc/vaping-duty-account
Finance: https://github.com/hmrc/vaping-duty-finance
Stub: https://github.com/hmrc/vaping-duty-stubs
Written in Scala 3 with Play Framework and suitable to be run on JRE 21 or later.
sm2 --start VAPING_DUTY_ALL
Launch as if running entirely under service manager above.
Stop the frontend service running under Service Manager:
sm2 --stop VAPING_DUTY_FRONTEND
Start the service running locally:
sbt run
To run the full set of test suites with coverage reports:
sbt runAllChecks
To run the unit test suites with coverage reports:
sbt runLocalChecks
If when running the checks above you encounter linting errors from scalafix, please use the folloiwng to correct these:
Note that running this command will write changes to the project.
sbt scalafixAllThis code is open source software licensed under the [Apache 2.0 License].