{"id":25856607,"url":"https://github.com/defra/aqie-historicaldata-backend","last_synced_at":"2026-06-08T08:33:27.861Z","repository":{"id":279198117,"uuid":"938019398","full_name":"DEFRA/aqie-historicaldata-backend","owner":"DEFRA","description":"Git repository for service aqie-historicaldata-backend","archived":false,"fork":false,"pushed_at":"2025-02-24T09:44:23.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T10:36:00.308Z","etag":null,"topics":["backend","cdp","dotnet","service"],"latest_commit_sha":null,"homepage":null,"language":"C#","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":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":"2025-02-24T09:44:07.000Z","updated_at":"2025-02-24T09:44:27.000Z","dependencies_parsed_at":"2025-02-24T10:36:11.078Z","dependency_job_id":"a201a282-a6f7-4d5d-b976-8e94b03179cf","html_url":"https://github.com/DEFRA/aqie-historicaldata-backend","commit_stats":null,"previous_names":["defra/aqie-historicaldata-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Faqie-historicaldata-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Faqie-historicaldata-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Faqie-historicaldata-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Faqie-historicaldata-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/aqie-historicaldata-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404550,"owners_count":19957676,"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":["backend","cdp","dotnet","service"],"created_at":"2025-03-01T18:19:12.014Z","updated_at":"2026-06-08T08:33:27.855Z","avatar_url":"https://github.com/DEFRA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aqie-historicaldata-backend\n\nCore delivery C# ASP.NET backend template.\n\n* [Install MongoDB](#install-mongodb)\n* [Inspect MongoDB](#inspect-mongodb)\n* [Testing](#testing)\n* [Running](#running)\n* [Dependabot](#dependabot)\n\n\n### Docker Compose\n\nA Docker Compose template is in [compose.yml](compose.yml).\n\nA local environment with:\n\n- Localstack for AWS services (S3, SQS)\n- Redis\n- MongoDB\n- This service.\n- A commented out frontend example.\n\n```bash\ndocker compose up --build -d\n```\n\nA more extensive setup is available in [github.com/DEFRA/cdp-local-environment](https://github.com/DEFRA/cdp-local-environment)\n\n### MongoDB\n\n#### MongoDB via Docker\n\nSee above.\n\n```\ndocker compose up -d mongodb\n```\n\n#### MongoDB locally\n\nAlternatively install MongoDB locally:\n\n- Install [MongoDB](https://www.mongodb.com/docs/manual/tutorial/#installation) on your local machine\n- Start MongoDB:\n```bash\nsudo mongod --dbpath ~/mongodb-cdp\n```\n\n#### MongoDB in CDP environments\n\nIn CDP environments a MongoDB instance is already set up\nand the credentials exposed as enviromment variables.\n\n\n### Inspect MongoDB\n\nTo inspect the Database and Collections locally:\n```bash\nmongosh\n```\n\nYou can use the CDP Terminal to access the environments' MongoDB.\n\n### Testing\n\nRun the tests with:\n\nTests run by running a full `WebApplication` backed by [Ephemeral MongoDB](https://github.com/asimmon/ephemeral-mongo).\nTests do not use mocking of any sort and read and write from the in-memory database.\n\n```bash\ndotnet test\n````\n\n### Running\n\nRun CDP-Deployments application:\n```bash\ndotnet run --project AqieHistoricaldataBackend --launch-profile Development\n```\n\n### SonarCloud\n\nExample SonarCloud configuration are available in the GitHub Action workflows.\n\n### Dependabot\n\nWe have added an example dependabot configuration file to the repository. You can enable it by renaming\nthe [.github/example.dependabot.yml](.github/example.dependabot.yml) to `.github/dependabot.yml`\n\n\n### About the licence\n\nThe Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable\ninformation providers in the public sector to license the use and re-use of their information under a common open\nlicence.\n\nIt is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Faqie-historicaldata-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Faqie-historicaldata-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Faqie-historicaldata-backend/lists"}