{"id":20038828,"url":"https://github.com/defra/prsd-iws","last_synced_at":"2025-05-05T07:32:30.415Z","repository":{"id":37924439,"uuid":"41490258","full_name":"DEFRA/prsd-iws","owner":"DEFRA","description":"Code for the IWS web application and back-end API/database","archived":false,"fork":false,"pushed_at":"2025-04-23T15:48:07.000Z","size":36358,"stargazers_count":2,"open_issues_count":14,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-23T16:25:05.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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,"zenodo":null}},"created_at":"2015-08-27T14:06:05.000Z","updated_at":"2025-04-10T08:36:29.000Z","dependencies_parsed_at":"2024-06-27T20:08:45.951Z","dependency_job_id":"7cb0e489-bbca-4379-bd16-4099c875dc10","html_url":"https://github.com/DEFRA/prsd-iws","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fprsd-iws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fprsd-iws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fprsd-iws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fprsd-iws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/prsd-iws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252458581,"owners_count":21751066,"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:33:18.537Z","updated_at":"2025-05-05T07:32:25.395Z","avatar_url":"https://github.com/DEFRA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# International Waste Shipments (IWS) Service\n\nThere are European and UK rules governing how you can ship waste into or out of the country.\n\nThe regulations apply from the point of loading the waste until it has been fully recovered or disposed of at the destination facility. If you fail to follow them, you may be committing a criminal offence and risk prosecution, financial penalties and/or imprisonment.\n\n[https://www.gov.uk/guidance/importing-and-exporting-waste](https://www.gov.uk/guidance/importing-and-exporting-waste)\n\n## Development environment\n\n### Dependencies\n\nThe following system dependencies are required to build the solution:\n\n* Visual Studio 2013+ ([Community Edition available](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx))\n* [SQL Server Express 2014](https://www.microsoft.com/en-gb/server-cloud/products/sql-server-editions/sql-server-express.aspx)\n* [.NET Framework 4.5.2 SDK](https://www.microsoft.com/en-gb/download/details.aspx?id=42637)\n\n### Obtain the source code\n\nClone the repository, copying the project into a working directory:\n\n    git clone https://github.com/EnvironmentAgency/prsd-iws.git\n    \n### Build the solution\n\n1. Open the IWS solution file (EA.Iws.sln).\n2. In Visual Studio, configure the NuGet Package Manager ('Tools' -\u003e 'NuGet Package Manager' -\u003e 'Package Manager Settings') to:\n   * Allow NuGet to download missing packages.\n   * Automatically check for missing packages during build in Visual Studio.\n3. Build the project. NuGet will download the missing packages.\n\n\u003c!-- End of list --\u003e\n\n### Setup the database\n\nThe IWS project uses [AliaSQL](https://github.com/ClearMeasure/AliaSQL) to manage the creation of and updates to the database.\n\n1. Within the solution, find the EA.Iws.Database project.\n2. Open the App.config of this project. In the appSettings, set the value for 'DatabaseServer' as the database server to be used. The local SQL server express database (.\\SQLEXPRESS) will be used if this value is not set.\n3. You can alter the value of 'DatabaseName' if you wish the database to be created with a different name.\n4. Run the database project (this can be in debug mode). You will be shown a list of possible actions. Choose 'Create', which will run the scripts to create the database.\n\n\u003c!-- End of list --\u003e\n\n## Tests\nWe use [xUnit](https://github.com/xunit/xunit) and [FakeItEasy](https://github.com/FakeItEasy/FakeItEasy) for unit testing.\n\nThe tests can be [run using the test explorer in Visual Studio](https://xunit.github.io/docs/getting-started-desktop.html#run-tests-visualstudio), or via the [xUnit.net console runner](https://xunit.github.io/docs/getting-started-desktop.html#run-tests).\n\n## Contributing to this project\n\nIf you have an idea you'd like to contribute please log an issue.\n\nAll contributions should be submitted via a pull request.\n\n## License\n\nTHIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:\n\nhttp://www.nationalarchives.gov.uk/doc/open-government-licence/version/3\n\nThe following attribution statement MUST be cited in your products and applications when using this information.\n\n\u003e Contains public sector information licensed under the Open Government license v3\n\n### About the license\n\nThe Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.\n\nIt is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fprsd-iws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fprsd-iws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fprsd-iws/lists"}