hmcts / ccfr-fees-register-admin-web

MIT License
1 stars 2 forks source link
jenkins-cft jenkins-cft-a-c

Fees Register Admin Web

Standard - JavaScript Style Guide Greenkeeper badge

This is the frontend application for CMC.

Getting Started

Prerequisites

Private NPM repository

Private NPM repository is defined in .npmrc file. All dependencies should be pulled from the private repository. Pulling dependencies from the public NPM registry can not be guaranteed on the CI server.

Running the application

Install dependencies by executing the following command:

$ yarn install

Run:

$ yarn start

It will be available at https://localhost:3000

Developing

Code style

We use TSLint with StandardJS rules alongside sass-lint

Running the linting: yarn lint

Running the tests

Mocha is used for writing tests. Run them with:

$ yarn test

Running the Functional tests

configure the following environment variables TEST_URL=<PR/AAT>

Run them with:

$ yarn test:functional

License

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