Skip to content

hmrc/sdlt-agent-frontend

Repository files navigation

sdlt-agent-frontend

This is the new sdlt-agent-frontend repository

Running the service

Service Manager: sm2 --start SDLT_ALL

To run all tests and coverage: sbt clean compile coverage test it/test coverageOff coverageReport

To start the server locally on port 10911: sbt run

To run the service in test-only mode

Run the command: sbt run -Dapplication.router=testOnlyDoNotUseInAppConf.Routes

This allows access to the following test routes:

/stamp-duty-land-tax-agent/manage-agents/test-only/session/set
/stamp-duty-land-tax-agent/manage-agents/test-only/session/clear

Adding New Pages

Folder Structure

The project uses domain-based organisation. Each new page should be placed in the appropriate domain folder:

app/
├── controllers/[domain]/               # e.g. controllers/manageAgents
├── models/[domain]/                    # e.g. models/manageAgents
├── views/[domain]/                     # e.g. views/manageAgents
├── forms/[domain]/                     # e.g. forms/manageAgents
├── pages/[domain]/                     # e.g. pages/manageAgents
└── viewmodels/checkAnswers/[domain]/   # e.g. viewmodels/checkAnswers/manageAgents
test/
├── controllers/[domain]/   # e.g. controllers/manageAgents
├── models/[domain]/        # e.g. models/manageAgents
├── forms/[domain]/         # e.g. forms/manageAgents
└── views/[domain]/         # e.g. views/manageAgents

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •