{"id":20038700,"url":"https://github.com/defra/epr-common-data-api","last_synced_at":"2026-02-12T15:31:24.996Z","repository":{"id":213504064,"uuid":"725982754","full_name":"DEFRA/epr-common-data-api","owner":"DEFRA","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-12T09:40:38.000Z","size":789,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-08-12T11:29:52.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEFRA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-01T09:31:54.000Z","updated_at":"2025-08-12T09:40:40.000Z","dependencies_parsed_at":"2024-02-13T07:24:44.954Z","dependency_job_id":"8564add1-8a9e-4e38-b550-c02648b4ad48","html_url":"https://github.com/DEFRA/epr-common-data-api","commit_stats":null,"previous_names":["defra/epr-common-data-api"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DEFRA/epr-common-data-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-common-data-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-common-data-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-common-data-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-common-data-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/epr-common-data-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-common-data-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271875567,"owners_count":24837304,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-13T10:32:04.528Z","updated_at":"2026-02-12T15:31:24.951Z","avatar_url":"https://github.com/DEFRA.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EPR Common Data API\n\n## Overview\n\nRestful API providing EPR data for reporting purposes.\n\n## How To Run\n\n### Prerequisites\n\nIn order to run the service you will need the following dependencies\n\n- .NET 8\n\n### Run\n\n On EPR.CommonDataService.API directory, execute\n\n```\ndotnet run\n```\n\n### Docker\n\n\nThen run in terminal at the CommonDataService solution root:\n\n```\ndocker build -t commondataservice -f EPR.CommonDataService.API/Dockerfile .\n```\n\nThen after that command has completed run:\n\n```\ndocker run -p 5291:3000 --name commondataservicecontainer commondataservice   \n```\n\nDo a GET Request to ```http://localhost:5001/admin/health``` to confirm that the service is running\n\n***NB: The docker build command will not execute successfully on a machine that has Zscaler installed.***\n\n## How To Test\n\n### Unit tests\n\nOn root directory, execute\n\n```\ndotnet test\n```\n\n### Pact tests\n\nN/A\n\n### Integration tests\n\nN/A\n\n## How To Debug\n\nN/A\n\n## Environment Variables - deployed environments\n\nThe structure of the appsettings can be found in the repository. Example configurations for the different environments can be found in [epr-app-config-settings](https://dev.azure.com/defragovuk/RWD-CPR-EPR4P-ADO/_git/epr-app-config-settings).\n\n\n## Additional Information\n\nN/A\n\n### Logging into Azure\n\nN/A\n\n### Usage\n\nN/A\n\n### Monitoring and Health Check\n\nHealth check - ```{environment}/admin/health```\n\n## Directory Structure\n\n### Source files\n\n- `EPR.CommonDataService.Api` - API .NET source files\n- `EPR.CommonDataService.Api.UnitTests` - API .NET unit test files\n- `EPR.CommonDataService.Core` - CORE .NET source files\n- `EPR.CommonDataService.Core.UnitTests` - CORE .NET unit test files\n- `EPR.CommonDataService.Data` - DATA .NET source files\n- `EPR.CommonDataService.Data.UnitTests` - DATA .NET unit test files\n\n## Contributing to this project\n\nPlease read the [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.\n\n## Licence\n\n[Licence information](LICENCE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fepr-common-data-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fepr-common-data-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fepr-common-data-api/lists"}