This project was generated with Angular CLI version 7.0.2.
Run ng serve for a dev server. Navigate to http://localhost:8080/. The app will automatically reload if you change any of the source files.
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.
Unfortunately, the backend server code is part of the client project & repo. Until refactoring:
npm run buildnode serverorPORT=<p1> node serverornodemon serverorPORT=<p1> nodemon server
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
This launches the backend up on default port 3000 (or P1 of your designation). Open web browser and try: http://localhost:<port>/api/postcodes/<your postcode without spaces>
- Ensure all images have a contextual and useful
alttag. 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
h1element should contain the idid="dialogHeading"