{"id":23066901,"url":"https://github.com/dvsa/cvs-app-vtm","last_synced_at":"2026-05-20T13:08:30.932Z","repository":{"id":37412440,"uuid":"207296277","full_name":"dvsa/cvs-app-vtm","owner":"dvsa","description":"Angular Application to allow users to manage vehicle and test information","archived":false,"fork":false,"pushed_at":"2026-03-11T11:48:17.000Z","size":26688,"stargazers_count":9,"open_issues_count":4,"forks_count":4,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2026-03-11T13:17:05.522Z","etag":null,"topics":["cvs-project"],"latest_commit_sha":null,"homepage":"","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/dvsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-09T11:45:46.000Z","updated_at":"2026-03-10T10:50:52.000Z","dependencies_parsed_at":"2023-09-22T19:49:51.196Z","dependency_job_id":"a83549c0-005b-4525-bf3e-9995b39817ba","html_url":"https://github.com/dvsa/cvs-app-vtm","commit_stats":null,"previous_names":[],"tags_count":2772,"template":false,"template_full_name":null,"purl":"pkg:github/dvsa/cvs-app-vtm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-app-vtm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-app-vtm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-app-vtm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-app-vtm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvsa","download_url":"https://codeload.github.com/dvsa/cvs-app-vtm/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fcvs-app-vtm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30618503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T08:10:05.930Z","status":"ssl_error","status_checked_at":"2026-03-17T08:10:04.972Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cvs-project"],"created_at":"2024-12-16T05:15:31.272Z","updated_at":"2026-03-17T08:16:59.589Z","avatar_url":"https://github.com/dvsa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/dvsa/cvs-app-vtm/actions/workflows/pr-checks.yml/badge.svg)](https://github.com/dvsa/cvs-app-vtm/actions/workflows/pr-checks.yml)\n\n# cvs-vtm-app\n\nThis is the angular code for the VTM frontend application.\n\nThis is used by the DVSA staff to create and update technical records \u0026 test results.\n\n## Getting started\n\nPrerequisites:\n\n- Node 18.18.0 or higher\n- NPM 9.8.1 or higher\n- Git Secrets\n\n### Using Make\n\nTo get setup on the project you can run: `make init`, `make install` and `make run`.\n\nThen to run tests run:\n`make all`\n\nTo just run the application run:\n`make run`\n\nTo run the mock api run:\n`make api`\n\nTo get different responses use custom VINs/IDs. Also see `mock-api/mock-api-server.ts` for more details about custom endpoints.\n\n| Argument           | Tech Record API | Test Record API |\n| ------------------ | --------------- | --------------- |\n| `.*`               | 200             | 200             |\n| `notfound`         | 400             | 400             |\n| `servererror`      | 500             | 500             |\n| `delayok`          | 200             | -               |\n| `delayservererror` | 500             | -               |\n| `HGV`              | 200             | -               |\n| `TRL`              | 200             | -               |\n\n### Using Node commands\n\n1. Run `npm install`\n2. Serve with `npm start`\n3. Find more commands with `npm run`\n\n### Testing\n\nThe test coverage requirement for this project is 80% and automation tests can be found in a java project named `cvs-vtm-auto`\n\nThe framework used is Jest.\n\nTo run the test coverage run `npm run test`\n\n### Backend Requirements\n\nThis talks to the following backends:\n\n- cvs-svc-technical-records\n- cvs-svc-test-results\n- cvs-svc-test-stations\n- cvs-svc-test-types\n\n### Running Locally End-2-End\n\n```\ncvs-app-vtm\ncreate .env with environment variables required by Azure SSO. These variables will be used to update `environment.deploy.ts` using `setenv.ts` script by npm start script.\n```\n\n```\ncvs-svc-technical-records\n1. npm install\n2. npm run tools-setup\n3. build \u0026 start\n\nService is running on http://localhost:3005\n\nFor viewing the seed test data in the local dynamodb - `npm i -G dynamodb-admin`\n\nDYNAMO_ENDPOINT=http://localhost:8003 npx dynamodb-admin\nwhich exposes a dynamo admin web front-end on http://localhost:8001\n```\n\n```\ncvs-svc-test-results\n\n```\n\n# Debugging Locally\n\nThere is a `Launch Chrome` vscode debug configuration that will run `ng serve` and launch an instance of chrome. Initially you will get `This site can’t be reached`, but this will automatically refresh once the backgraound processes have finished starting up. Break points set within vscode will be hit while using this instance of chrome.\n\n# Running storybook\n\nStorybook lets you view components without the rest of the application.\n\nTo run storybook:\n\n`npm run storybook`\n\nThen view it on `localhost:6006`.\n\n# Atomic Design\n\nThis project aims to follow atomic design principles and is structured as follows:\n\nAtoms - atoms make up everything these are the smallest core components e.g. Label\n\nMolecules - molecules are made up of atoms and provide a more complex component e.g. Nav-Bar\n\nOrganisms - organisms are made up of molecules are showcase complex ideas/logic e.g. Calendar with Search logic\n\nMore information can be found here: https://bradfrost.com/blog/post/atomic-web-design/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fcvs-app-vtm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvsa%2Fcvs-app-vtm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fcvs-app-vtm/lists"}