{"id":23067040,"url":"https://github.com/dvsa/ext-svc-dvla-ants","last_synced_at":"2025-04-03T09:13:59.470Z","repository":{"id":50137975,"uuid":"216801583","full_name":"dvsa/ext-svc-dvla-ants","owner":"dvsa","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-07T02:18:50.000Z","size":1411,"stargazers_count":0,"open_issues_count":10,"forks_count":1,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-02-08T22:28:35.526Z","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":"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}},"created_at":"2019-10-22T11:52:47.000Z","updated_at":"2024-01-03T09:19:20.000Z","dependencies_parsed_at":"2024-12-16T05:16:10.424Z","dependency_job_id":"e94365d6-dcfb-46b9-8821-bcfc347840f1","html_url":"https://github.com/dvsa/ext-svc-dvla-ants","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%2Fext-svc-dvla-ants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fext-svc-dvla-ants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fext-svc-dvla-ants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fext-svc-dvla-ants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvsa","download_url":"https://codeload.github.com/dvsa/ext-svc-dvla-ants/tar.gz/refs/heads/develop","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:57.499Z","updated_at":"2025-04-03T09:13:59.448Z","avatar_url":"https://github.com/dvsa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ext-svc-dvla-ants\n\n#### Run AWS Lambda node functions locally with a mock API Gateway\n- `npm install`\n- `BRANCH=local npm start`\n\n### Git Hooks\n\nPlease set up the following prepush git hook in .git/hooks/pre-push\n\n```\n#!/bin/sh\nnpm run prepush \u0026\u0026 git log -p | scanrepo\n\n```\n\n#### Security\n\nPlease install and run the following securiy programs as part of your testing process:\n\nhttps://github.com/awslabs/git-secrets\n\n- After installing, do a one-time set up with `git secrets --register-aws`. Run with `git secrets --scan`.\n\nhttps://github.com/UKHomeOffice/repo-security-scanner\n\n- After installing, run with `git log -p | scanrepo`.\n\nThese will be run as part of prepush so please make sure you set up the git hook above so you don't accidentally introduce any new security vulnerabilities.\n\n### Testing\nIn order to test, you need to run the following:\n- `npm run test` for unit tests\n- `npm run test-i` for integration tests\n\n\n### Environmental variables\n\n- The `BRANCH` environment variable indicates in which environment is this application running. Use `BRANCH=local` for local deployment. This variable is required when starting the application or running tests.\n\n### Local Running\n\nTo run this locally, add the following environment variables to your run configuration(s):\n* AWS_XRAY_CONTEXT_MISSING = LOG_ERROR\n* SLS_DEBUG = *\n* BRANCH = LOCAL\n\nand change the serverless.yml so that Custom \u003e DynamoDB \u003e\n*      migrate: true\n       seed: true\n       noStart: false\n\n**NB: Do not push these changes. They are for local running only**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fext-svc-dvla-ants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvsa%2Fext-svc-dvla-ants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fext-svc-dvla-ants/lists"}