Skip to content

As partial forms have been deprecated in contact-frontend this fork is to illustrate the change needed to use the static report a technical problem page

License

Notifications You must be signed in to change notification settings

kyle-bowden/soft-drinks-industry-levy-frontend

 
 

Repository files navigation

Soft Drinks Industry Levy Frontend

Download

About

The Soft Drinks Industry Levy (SDIL) digital service is split into a number of different microservices all serving specific functions which are listed below:

Liability tool - Standalone frontend service that is used to check a company's liability in regards to the levy.

Frontend - The main frontend for the service which includes the pages for registration.

Backend - The service that the frontend uses to call HOD APIs to retrieve and send information relating to business information and subscribing to the levy.

Stub - Microservice that is used to mimic the DES APIs when running services locally or in the development and staging environments.

This is the main frontend, currently containing the registration form.

For details about the sugar tax see the GOV.UK guidance

Running from source

Clone the repository using SSH:

[email protected]:hmrc/soft-drinks-industry-levy-frontend.git

If you need to setup SSH, see the github guide to setting up SSH

Run the code from source using

sbt run

Open your browser and navigate to the following url:

http://localhost:8700/soft-drinks-industry-levy/register/start

Running through service manager

Run the following command in a terminal: nano /home/<USER>/.sbt/.credentials

See the output and ensure it is populated with the following details:

realm=Sonatype Nexus Repository Manager
host=NEXUS URL
user=USERNAME
password=PASSWORD

You need to be on the VPN

Ensure your service manager config is up to date, and run the following command:

sm --start SDIL_ALL -f

This will start all the required services

License

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

About

As partial forms have been deprecated in contact-frontend this fork is to illustrate the change needed to use the static report a technical problem page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 61.3%
  • HTML 31.7%
  • JavaScript 3.5%
  • CSS 1.8%
  • SCSS 1.7%