This project was generated with Angular CLI version 8.2.3.
- Run
npm run server
for a dev server. This will compile the assets usingnpm run build:watch
and also start the Express app usingnpm run server
. - Navigate to
http://localhost:8080/
to view the application
Any FE changes should re-compile the assets and refresh the browser automatically.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Database connection parameters can be overridden using environment variables:
DB_HOST
- hostname or IP addressDB_PORT
- port numberDB_NAME
- name of databaseDB_USER
- database usernameDB_PASS
- database password
- Ensure all images have a contextual and useful
alt
tag. If no context is needed, usealt=""
. - Ensure that content follows semantic markup, for instance using definition lists, labels and fieldsets.
- Anchors with
target="_blank"
require<span class="govuk-visually-hidden"> (opens in a new window)</span>
to be placed after the text content and before the closing anchor tag. - All Angular Directives must be wrapped in square brackets
[]
. - Dialogs
h1
element should contain the idid="dialogHeading"
. - Download links must contain a valid
href
containing the filename.