{"id":21678228,"url":"https://github.com/sharedstreets/sharedstreets-road-closure-ui","last_synced_at":"2025-04-12T05:15:08.351Z","repository":{"id":38803973,"uuid":"153651919","full_name":"sharedstreets/sharedstreets-road-closure-ui","owner":"sharedstreets","description":"a lightweight application for municipalities to create non proprietary, standardized road closures data using the SharedStreets referencing system","archived":false,"fork":false,"pushed_at":"2022-12-10T16:57:12.000Z","size":116257,"stargazers_count":12,"open_issues_count":40,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T05:14:57.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://roadclosures-test.sharedstreets.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharedstreets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-18T16:08:54.000Z","updated_at":"2023-05-31T09:10:17.000Z","dependencies_parsed_at":"2022-09-18T05:33:18.304Z","dependency_job_id":null,"html_url":"https://github.com/sharedstreets/sharedstreets-road-closure-ui","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-road-closure-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-road-closure-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-road-closure-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-road-closure-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharedstreets","download_url":"https://codeload.github.com/sharedstreets/sharedstreets-road-closure-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519557,"owners_count":21117761,"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-25T14:27:21.884Z","updated_at":"2025-04-12T05:15:08.323Z","avatar_url":"https://github.com/sharedstreets.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharedStreets Constructions, Incidents, and Closures Ingestion UI\nThis is a lightweight web app for cities to generate road construction, incidents, and closures data, utilizing the [SharedStreets Referencing System](https://github.com/sharedstreets/sharedstreets-ref-system) to provide a shared, non-proprietary way of describing this information for use in consumer applications.\n\n\n## Table of Contents\n- Running the application \n- Using the application\n- Output formats\n\n## Running the application locally/on your own computer\n\nTo run the application yourself on your local computer, you will need a Linux or Mac. Then, make sure you have node js and npm installed ([see here for instructions](https://www.npmjs.com/get-npm)), as well as yarn ([see here for instructions](https://yarnpkg.com/lang/en/docs/install/)).\n\nThen, you have to [clone this repository](https://help.github.com/articles/cloning-a-repository/):\n```\ngit clone https://github.com/sharedstreets/sharedstreets-road-closure-ui.git\n```\nThen, install the required dependencies:\n```\ncd sharedstreets-road-closure-ui/\nyarn install \n```\nYou'll have to create a file named `.env` in the application's top-most/root directory.\nYou can simply make a copy of the included file `.env.example` and populate the values appropriately:\n```\nREACT_APP_base_server_url=\u003cbase URL of the included server. if this is empty, default value is http://localhost\u003e\nREACT_APP_directory=full path to road closure files directory, ex: /Users/indraneel/road-closures/\nREACT_APP_extent=[min X coordinate, min Y coordinate, max X coordinate, max Y coordinate]\nREACT_APP_org_name=your organization's name. this will be appended to the 'directory' path, ex: /Users/indraneel/road-closures/organization-name\u003e\nREACT_APP_server_port=3001\n```\nYou can use a website like [bboxfinder](http://bboxfinder.com) to find your extent value. Note that the **REACT_APP_extent** specified is the only region within with you'll be able to mark streets as closed. Also make sure **REACT_APP_extent** is four values surrounded by square brackets (like this: [-70, 40, -70, 40]).\n\nNext, you need to build the application by running this command:\n```\nyarn build:local\n```\nThis will create a build of the web app that relies on the included `server.ts`.\nNote that this command (and `start:local`) sets the environment variable `REACT_APP_LOCAL_SERVER` to `true`.\n\nAnd then finally, you can run the application:\n```\nyarn server\n```\nBy default, the application will run at the following URL: http://localhost:3001 unless you've configured it otherwise.\n\n## Using the application\n\n![Animated walkthrough of selecting streets on the map](https://i.imgur.com/AzajbbIh.gif)\n\n![Animated walkthrough of filling out the form to describe the closure incident](https://i.imgur.com/KPBMJo1.gif)\n\n![Animated walkthrough of viewing final output](https://i.imgur.com/NxBSTOD.gif)\n\n## Output formats\n\nThe SharedStreets Road Closures app [extends GeoJSON](https://github.com/sharedstreets/sharedstreets-road-closure-ui/tree/master/src/models/SharedStreets) for all internal application data. \n\nData can be exported for consumption as the GeoJSON and/or the [Closure Information Feed Specification (CIFS)](https://developers.google.com/waze/data-feed/road-closure-information) format.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharedstreets%2Fsharedstreets-road-closure-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharedstreets%2Fsharedstreets-road-closure-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharedstreets%2Fsharedstreets-road-closure-ui/lists"}