{"id":20038678,"url":"https://github.com/defra/epr-payment-service","last_synced_at":"2025-05-05T07:32:09.788Z","repository":{"id":236098585,"uuid":"791823715","full_name":"DEFRA/epr-payment-service","owner":"DEFRA","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-05T11:00:33.000Z","size":453,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-05T11:17:29.637Z","etag":null,"topics":[],"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":"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}},"created_at":"2024-04-25T12:49:47.000Z","updated_at":"2024-11-05T10:15:18.000Z","dependencies_parsed_at":"2024-07-22T12:48:02.956Z","dependency_job_id":"eeb09109-54b8-465a-97df-dee21e287832","html_url":"https://github.com/DEFRA/epr-payment-service","commit_stats":null,"previous_names":["defra/epr-payment-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-payment-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-payment-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-payment-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fepr-payment-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/epr-payment-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224431492,"owners_count":17310145,"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-11-13T10:31:51.255Z","updated_at":"2024-11-13T10:31:51.766Z","avatar_url":"https://github.com/DEFRA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epr-payment-service\n\n\n## Description\nService to calculate fees and manage payment records for EPR\n\n## Getting Started\n\n### Prerequisites\n- .NET 8 SDK\n- Visual Studio or Visual Studio Code\n- MSSQL\n\n### Installation\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/DEFRA/epr-payment-service.git\n    ```\n2. Navigate to the project directory:\n    ```bash\n    cd \\src\\EPR.Payment.Service\n    ```\n3. Restore the dependencies:\n    ```bash\n    dotnet restore\n    ```\n\n### Configuration\nThe application uses appsettings.json for configuration. For development, use appsettings.Development.json.\n\n#### Sample \nappsettings.Development.json\n\n```\n{\n  \"ConnectionStrings\": {\n    \"PaymentConnnectionString\": \"Data Source=.;Initial Catalog=FeesPayment;Trusted_Connection=true;TrustServerCertificate=true;\"\n  },\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft.AspNetCore\": \"Warning\"\n    }\n  },\n  \"AllowedHosts\": \"*\",\n  \"FeatureManagement\": {\n    \"EnablePaymentsFeature\": true,\n    \"EnablePaymentStatusInsert\": true,\n    \"EnablePaymentStatusUpdate\": true,\n    \"EnableGetPaymentByExternalPaymentId\": true,\n    \"EnableRegistrationFeesFeature\": true,\n    \"EnableProducerResubmissionAmount\": true,\n    \"EnableRegistrationFeesCalculation\": true\n  }\n}\n```\n\n### Building the Application\n1. Navigate to the project directory:\n    ```bash\n    cd \\src\\EPR.Payment.Service\n    ```\n\n2. To build the application:\n    ```bash\n    dotnet build\n    ```\n\n### Running the Application\n1. Navigate to the project directory:\n    ```bash\n    cd \\src\\EPR.Payment.Service\n    ```\n \n2. To run the service locally:\n    ```bash\n    dotnet run\n    ```\n\n3. Launch Browser:\n\n    Service Health Check:\n\n    [https://localhost:7107/health](https://localhost:7107/health)\n\n    Swagger:\n\n    [https://localhost:7107/swagger/index.html](https://localhost:7107/swagger/index.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fepr-payment-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fepr-payment-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fepr-payment-service/lists"}