{"id":15138754,"url":"https://github.com/hmcts/cmc-citizen-frontend","last_synced_at":"2025-10-23T15:31:38.636Z","repository":{"id":38357015,"uuid":"100393203","full_name":"hmcts/cmc-citizen-frontend","owner":"hmcts","description":"Citizen frontend application for Civil Money Claims","archived":false,"fork":false,"pushed_at":"2025-01-23T19:30:36.000Z","size":21397,"stargazers_count":14,"open_issues_count":35,"forks_count":11,"subscribers_count":162,"default_branch":"master","last_synced_at":"2025-01-23T20:26:49.512Z","etag":null,"topics":["civil-money-claims","docker","govuk","govuk-elements","govuk-pay","gulp","jenkins-cft","jenkins-cft-a-c","jenkins-pipeline","nodejs","nunjucks","sass","t","travis-ci","typescript","yarn"],"latest_commit_sha":null,"homepage":"https://www.gov.uk/make-money-claim","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmcts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":"audit.json","citation":null,"codeowners":".github/CODEOWNERS","security":"security.sh","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-15T15:44:48.000Z","updated_at":"2024-12-16T11:14:18.000Z","dependencies_parsed_at":"2023-09-23T10:39:01.906Z","dependency_job_id":"e779453b-3418-452d-879b-550651c9e9a2","html_url":"https://github.com/hmcts/cmc-citizen-frontend","commit_stats":{"total_commits":2285,"total_committers":114,"mean_commits":20.04385964912281,"dds":0.8739606126914661,"last_synced_commit":"ea4f0910ef4cda07719113572364c0b540a7c91f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fcmc-citizen-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fcmc-citizen-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fcmc-citizen-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fcmc-citizen-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmcts","download_url":"https://codeload.github.com/hmcts/cmc-citizen-frontend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237852306,"owners_count":19376652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["civil-money-claims","docker","govuk","govuk-elements","govuk-pay","gulp","jenkins-cft","jenkins-cft-a-c","jenkins-pipeline","nodejs","nunjucks","sass","t","travis-ci","typescript","yarn"],"created_at":"2024-09-26T07:44:18.680Z","updated_at":"2025-10-23T15:31:30.349Z","avatar_url":"https://github.com/hmcts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMC Frontend\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/hmcts/cmc-citizen-frontend.svg)](https://greenkeeper.io/)\n\n[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n[![codecov](https://codecov.io/gh/hmcts/cmc-citizen-frontend/branch/master/graph/badge.svg)](https://codecov.io/gh/hmcts/cmc-citizen-frontend)\n\nThis is the frontend application for CMC. Service provides web UI for citizens, presented as sequence of HTML 5 web pages designed to GDS Service Design guidelines, so that they can make money claims and / or perform associated actions e.g submitting defence or requesting default judgement.\n\nService delegates most of the non UI responsibilities to underlying services e.g. claim-store or pdf-service.\n\n### Getting Started\n\n### Prerequisites\n\n* [Node.js](https://nodejs.org/) \u003e= 18.15.0\n* [yarn](https://yarnpkg.com/)\n* [Gulp](http://gulpjs.com/)\n* [Docker](https://www.docker.com)\n\n#### Running the application\n\nInstall dependencies by executing the following command:\n\n ```bash\n$ yarn install\n ```\n\nRun:\n\n```bash\n$ gulp\n```\n\nIt will be available at https://localhost:3000\n\n### Running the application on docker (integrated environment)\n\nSee the README.md in hmcts/cmc-integration-tests\n\n## Developing\n\n### Code style\n\nWe use [TSLint](https://palantir.github.io/tslint/) with [StandardJS](http://standardjs.com/index.html) rules alongside [sass-lint](https://github.com/sasstools/sass-lint)\n\nRunning the linting:\n`yarn lint`\n\n### Running the tests\n\nMocha is used for writing tests.\n\nRun them with:\n\n```bash\n$ yarn tests\n```\n\nFor functional testing:\n\n```bash\n$ yarn test:routes\n```\n\nFor accessibility testing:\n\n```bash\n$ yarn tests:a11y\n```\n\nFor test coverage:\n\n```bash\n$ yarn test:coverage\n```\n\nFor unit test coverage only:\n\n```bash\n$ yarn test:coverage-unit\n```\n\n### Running end to end tests\n\nIntegration tests are written using [CodeceptJS](https://codecept.io/) framework and reside in [`src/integration-test`](src/integration-test) directory. They are executed using Docker.\n\nIf you want to run them to see if your changes work, you will need to build a docker image containing your updates:\n\n```bash\n$ docker-compose build citizen-integration-tests\n```\n\nThen you can go to the [integration-tests](https://github.com/hmcts/cmc-integration-tests) project and run them with:\n\n```bash\n$ ./bin/run-local-citizen-tests.sh\n```\n\nIf you didn't have a dockerized environment running it will be started up for you. If you prefer to start it up yourself beforehand, do:\n\n```bash\n$ ./bin/start-local-environment.sh\n```\n\nFor more details on the dockerized environment please refer to integration-tests repository's[`README`](https://github.com/hmcts/cmc-integration-tests/blob/master/README.md) file.\n\n## Troubleshooting\n\n### Warnings while running ```yarn install``` on yarn version 1.0.1\n\nThere is currently an open issue : https://github.com/yarnpkg/yarn/issues/3751\n\nExample:\n\n```\nwarning The case-insensitive file ..\\cmc-citizen-frontend\\node_modules\\nyc\\node_modules shouldn't be copied twice in one bulk copy\nwarning The case-insensitive file ..\\cmc-citizen-frontend\\node_modules\\nyc\\node_modules\\ansi-regex shouldn't be copied twice in one bulk copy\n```\n\n## Preview Environment ##\n\nWe get a fully functional environment in Azure Kubernetes (AKS) per pull request. For more\ninfo see: https://tools.hmcts.net/confluence/display/ROC/AKS+-+Azure+Managed+Kubernetes\n\n## License ##\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmcts%2Fcmc-citizen-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmcts%2Fcmc-citizen-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmcts%2Fcmc-citizen-frontend/lists"}