{"id":23067020,"url":"https://github.com/dvsa/ftts-stub-dvla","last_synced_at":"2025-09-21T12:17:45.551Z","repository":{"id":86167385,"uuid":"575346348","full_name":"dvsa/ftts-stub-dvla","owner":"dvsa","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-01T16:20:05.000Z","size":178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T22:28:37.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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}},"created_at":"2022-12-07T09:59:11.000Z","updated_at":"2024-01-03T09:23:48.000Z","dependencies_parsed_at":"2023-03-13T08:44:50.236Z","dependency_job_id":null,"html_url":"https://github.com/dvsa/ftts-stub-dvla","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fftts-stub-dvla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fftts-stub-dvla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fftts-stub-dvla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fftts-stub-dvla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvsa","download_url":"https://codeload.github.com/dvsa/ftts-stub-dvla/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970323,"owners_count":20862509,"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":[],"created_at":"2024-12-16T05:15:56.020Z","updated_at":"2025-09-21T12:17:40.496Z","avatar_url":"https://github.com/dvsa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\r\n\r\nThe purpose of this repo is the stub for the performance environment mocking the following end points:\r\nPOST /v1/drivers/retrieve\r\nPOST /v1/authenticate\r\n\r\n#Purpose\r\nThis should be used to replicate the current behaviour of the DVLA service for performance testing and in the future for functional testing.\r\n\r\n#Use\r\nUsing these endpoints, it should allow the stub to retrieve any given eligibility details for a DLN, the authenticate POST is there to return 200.\r\n\r\n# Installation\r\n\r\n1. Install azure-functions-core-tools using homebrew\r\n\r\n`brew tap azure/functions`\r\n\r\n`brew install azure-functions-core-tools@4`\r\n\r\nNote before installing make sure nvm is version 7 or greater to ensure peer dependencies install\r\n\r\nCheck by running `nvm --version` and update with `npm install -g npm@7.9.0`\r\n\r\n2. Install:\r\n\r\n`npm i`\r\n\r\n# Build, Run and Test\r\n\r\nBuild:\r\n\r\n`npm run build`\r\n\r\nRun:\r\n\r\n`npm run func:start`\r\n\r\n#Testing\r\nTo run unit tests:\r\n\r\n`npm run test`\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fftts-stub-dvla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvsa%2Fftts-stub-dvla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fftts-stub-dvla/lists"}