{"id":20039121,"url":"https://github.com/defra/waste-permits","last_synced_at":"2025-05-05T07:32:33.876Z","repository":{"id":23505400,"uuid":"99102356","full_name":"DEFRA/waste-permits","owner":"DEFRA","description":"GOV.UK front end service built using Node.js for the Waste Permits service","archived":false,"fork":false,"pushed_at":"2023-06-13T14:17:05.000Z","size":8325,"stargazers_count":4,"open_issues_count":14,"forks_count":2,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-04-08T19:08:28.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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":"2017-08-02T10:09:07.000Z","updated_at":"2024-04-23T03:58:59.000Z","dependencies_parsed_at":"2024-11-13T10:47:59.588Z","dependency_job_id":null,"html_url":"https://github.com/DEFRA/waste-permits","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fwaste-permits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fwaste-permits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fwaste-permits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fwaste-permits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/waste-permits/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252458596,"owners_count":21751068,"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:35:54.204Z","updated_at":"2025-05-05T07:32:31.011Z","avatar_url":"https://github.com/DEFRA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Waste Permits Service\n\n[![Build Status](https://travis-ci.org/DEFRA/waste-permits.svg?branch=master)](https://travis-ci.org/DEFRA/waste-permits)\n[![Known Vulnerabilities](https://snyk.io/test/github/defra/waste-permits/badge.svg)](https://snyk.io/test/github/defra/waste-permits)\n[![dependencies Status](https://david-dm.org/defra/waste-permits/status.svg)](https://david-dm.org/defra/waste-permits)\n[![Code Climate](https://codeclimate.com/github/DEFRA/waste-permits/badges/gpa.svg)](https://codeclimate.com/github/DEFRA/waste-permits)\n[![Test Coverage](https://codeclimate.com/github/DEFRA/waste-permits/badges/coverage.svg)](https://codeclimate.com/github/DEFRA/waste-permits/coverage)\n[![Dependency Status](https://dependencyci.com/github/DEFRA/waste-permits/badge)](https://dependencyci.com/github/DEFRA/waste-permits)\n[![Greenkeeper badge](https://badges.greenkeeper.io/DEFRA/waste-permits.svg)](https://greenkeeper.io/)\n\nYou may need to apply to the\n[Environment Agency](https://www.gov.uk/government/organisations/environment-agency)\nfor an environmental permit if your business uses, recycles,\ntreats, stores or disposes of waste or mining waste. This permit\ncan be for activities at one site or for mobile plant that can be\nused at many sites.\n\nThe Waste Permits service will be a new, online way to apply for a\nwaste permit.\n\nThis service is currently beta and has been developed in accordance\nwith the\n[Digital by Default service standard](https://www.gov.uk/service-manual/digital-by-default),\nputting user needs first and delivered iteratively.\n\n## Prerequisites\n\nPlease make sure the following are installed:\n\n- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- [Node.js v10/Dubnuim](https://nodejs.org/en/) recommend\n  installing nvm and using `nvm install --lts`\n- [Gulp](https://gulpjs.com/) using `npm install -g gulp`\n- [StandardJS](https://standardjs.com/) using `npm install -g standard`\n- [Chrome](https://www.google.com/chrome/index.html) our default `gulp` task assumes **Chrome** is installed\n- ClamAV Daemon. You will need to install clamdscan and clamav-daemon then run clamav-daemon as a service\n\nCheck that your environment is running the correct versions of `node` and `npm`:\n```bash\n$ npm --version\n6.9.0\n$ node --version\nv10.15.3\n```\n\n## Installation\n\nClone the repository and install its package\ndependencies:\n\n```bash\ngit clone https://github.com/DEFRA/waste-permits.git \u0026\u0026 cd waste-permits\nnpm install\n```\n\n# Setting up .env\n\nCopy the `.env.example` file to `.env` and set it up for your\nenvironment\n\n```bash\ncp .env.example .env\n```\n\n## Building the app\n\nOnce you have the repo cloned you'll need to build it.\n\n```bash\ngulp clean build\n```\n\n## Running the app\n\nRun the app in **Google Chrome** using\n[Browsersync](https://browsersync.io/docs/gulp). This will first\nlaunch/create a new tab in Chrome set to the app's start page. Any\nchanges to the project's SCSS, JS and HTML files will cause the\nbrowser to automatically reload.\n\n```bash\ngulp\n```\n\n## Testing the app\n\nUse the following **Gulp** task. This runs the **StandardJS**\nlinting as well as the unit tests to produce a `coverage.html`\nreport\n\n```bash\ngulp test\n```\n\n## Setting up ClamAV\n\nSetting up ClamAV can be a little challenging. We've done it on\nDebian and if you use the following instructions it should work.\n\n```bash\nsudo apt-get install clamdscan clamav-daemon\nusermod -a -G clamav \u003ccurrentuser\u003e\nsudo service clamav-daemon start\n```\n\n## Adding new routes\n\nUse the following command line interface to add any new routes.\nThis will create placeholder controller, view and validator files\nthat can then be edited.\n```bash\nnpm run add-route\n```\n\n## Release procedure\nInformation on the release procedure can be found [here](docs/release.md).\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\nGOVERNMENT LICENCE found at:\n\n\u003chttp://www.nationalarchives.gov.uk/doc/open-government-licence/version/3\u003e\n\nThe following attribution statement MUST be cited in your products\nand applications when using this information.\n\n\u003eContains public sector information licensed under the Open\n\u003eGovernment license v3\n\n### About the license\n\nThe Open Government Licence (OGL) was developed by the Controller\nof Her Majesty's Stationery Office (HMSO) to enable information\nproviders in the public sector to license the use and re-use of\ntheir information under a common open licence.\n\nIt is designed to encourage use and re-use of information freely\nand flexibly, with only a few conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fwaste-permits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fwaste-permits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fwaste-permits/lists"}