Skip to content

adusumillipraveen/pcq-frontend

 
 

Repository files navigation

Protected Characteristics Questionnaire

This is the frontend for the protected characteristics questionnaire service. This service will ask a set of questions that will help us check we are treating people fairly and equally. It helps us to meet our commitment to equality (under the Equality Act 2010).

Getting Started

Prerequisites

Installation

Install dependencies by executing the following command:

$ yarn install

Sass:

$ yarn setup

Git hooks:

We have git hooks that enforce rules for commit messages.

These can be activated by running the following commands:

$ ln -s ../../pre-commit.sh .git/hooks/pre-commit
$ ln -s ../../commit-msg.sh .git/hooks/commit-msg

Running the application

Run the application local server:

$ yarn start

Open https://localhost:4000 in a browser

Developing

Code style

Before submitting a Pull Request you will be required to run: $ yarn eslint

We have a number of rules relating to code style that can be found in .eslintrc.js.

Running the tests

Mocha is used for writing tests.

The test suite can be run with: $ yarn test

For unit tests: $ yarn test-unit

For component tests: $ yarn test-component

For accessibility tests: $ yarn test-accessibility

For test coverage: $ yarn test-coverage

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.7%
  • HTML 22.0%
  • CSS 2.3%
  • Shell 1.6%
  • HCL 0.6%
  • Groovy 0.5%
  • Other 0.3%