Skip to content

GillonPaterson/kManGroupApp

Repository files navigation

kManGroupApp

Hello welcome to K man group app

Description

This is the front end to our project it has webpages made up of a mixture of nunjucks and html using the govUK components. Also has java script to request data from the endpoints of our api.

How to start your application

enter into terminal

  1. npm ci
  2. npm start

other usefull commands:

  1. npm test - runs js unit tests
  2. npm run selenium - runs selenium test
  3. npm i --package-lock-only - updates the package lock
  4. npm run pa11y-ci your/snapshot/or/htmlpage - runs accessability tests
  5. npm install package-name - installs package

WorkFlows

All the config files for the CI pipeline are held in the .github/workflows and the config files for the linters are held in the .github/linters.

workFlows we run

  1. superlinter -documentation- https://github.com/github/super-linter
  2. pa11y -documentation- https://github.com/pa11y/pa11y

How Pa11y works in this project

Screenshots of the webpages used are taken during the selenium test and then the Pa11y tests can be run on the snapshots which means the tests can be run as part of the workflow. The pa11yci.json file is used to configure the test from here you can set the standart timeout etc.

  1. unit tests

GovUk components

https://design-system.service.gov.uk/get-started/

Rules

  1. You break it you fix it
  2. if Gillon did it and it doesn't work check his spelling
  3. Ignore dependabot at all costs

Other Repos for Project

  1. Backend - https://github.com/GillonPaterson/kManGroup-Api - we used java17
  2. Performance testing - https://github.com/GillonPaterson/gatling-tests - needs to be run with java11

Contributing

we aren't open to contributing sorry.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages