Skip to content

ChichiDevops/SopraSteria-SFC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4,242 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NgSfcV2

This project was generated with Angular CLI version 7.0.2.

Development server

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.

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Backend Server

Unfortunately, the backend server code is part of the client project & repo. Until refactoring:

  • npm run build
  • node server or PORT=<p1> node server or nodemon server or PORT=<p1> nodemon server

Database connection parameters can be overridden using environment variables:

  • DB_HOST - hostname or IP address
  • DB_PORT - port number
  • DB_NAME - name of database
  • DB_USER - database username
  • DB_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>

Accessibility

  1. Ensure all images have a contextual and useful alt tag. If no context is needed, use alt="".
  2. Ensure that content follows semantic markup, for instance using definition lists, labels and fieldsets.
  3. 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.
  4. All Angular Directives must be wrapped in square brackets [].
  5. Dialogs h1 element should contain the id id="dialogHeading"

About

SFC Development

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 50.1%
  • TypeScript 31.6%
  • HTML 16.7%
  • CSS 1.2%
  • PLpgSQL 0.4%