{"id":42326689,"url":"https://github.com/dvrpc/link","last_synced_at":"2026-01-27T13:11:03.629Z","repository":{"id":187523555,"uuid":"677074417","full_name":"dvrpc/link","owner":"dvrpc","description":"a front-end for the lts/sw island connectivity tool, under development for FY24","archived":false,"fork":false,"pushed_at":"2025-04-30T16:59:38.000Z","size":53713,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T17:50:06.304Z","etag":null,"topics":["frontend"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvrpc.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":"2023-08-10T17:13:18.000Z","updated_at":"2025-04-30T16:59:43.000Z","dependencies_parsed_at":"2024-01-31T21:38:02.477Z","dependency_job_id":"b272df63-5250-4c9d-ab9d-f4f8d7879a87","html_url":"https://github.com/dvrpc/link","commit_stats":null,"previous_names":["dvrpc/connect","dvrpc/link"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvrpc/link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvrpc%2Flink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvrpc%2Flink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvrpc%2Flink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvrpc%2Flink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvrpc","download_url":"https://codeload.github.com/dvrpc/link/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvrpc%2Flink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["frontend"],"created_at":"2026-01-27T13:11:03.114Z","updated_at":"2026-01-27T13:11:03.621Z","avatar_url":"https://github.com/dvrpc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Link\nLink is is a React app that helps you evaluate potential bicycle or pedestrian improvements in the greater Philadelphia region.\n\nThis repository contains the front-end components.\n\nThe [backend](https://github.com/dvrpc/link-api) is built with:\n* FastAPI  \n* Postgres (+ postgis \u0026 pgrouting)\n* DVRPC's [LTS/sidewalk connectivity tool.](https://github.com/dvrpc/LTS_island_connectivity) \n\n## Setup/Installation \n\n### Dependencies\nMake sure you have the latest LTS version of node/npm installed. Follow instructions [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).\nIt is strongly recommended to use one of the Node Version Managers (NVM) at the link for your OS. Once you have nvm available on the command line, get the latest stable npm version with:\n\n```shell\nnvm install lts \n```\nand then (replacing 18.x.x with whatever the latest stable version you just installed was):\n\n```shell\nnvm use 18.x.x\n```\n\n### Installation\n\nFor Linux users: add this line to the end of your .bashrc and restart your shell : `export NODE_OPTIONS=--openssl-legacy-provider`. Alternatively, use node v16 or earlier.\n(relates to [this issue](https://github.com/webpack/webpack/issues/14532)). Something similar may be required for Windows users. \n\n#### 1. Clone the repo\n```shell\ngit clone https://github.com/dvrpc/link\n```\n\n#### 2. Run the following command to install node dependencies.\n```shell\nnpm install\n```\n\n#### 3. Setup .env and start the server. \nCreate .env.development and .env.production files in the root directory.\nBoth should set the REACT_APP_API_URL variable.\n\nFor example, env.development might look like:\n\n```\nREACT_APP_API_URL=http://localhost:8000/api\nREACT_APP_API_USER=user\nREACT_APP_API_PASSWORD=pw\nREACT_APP_MAPBOX_ACCESS_TOKEN=your mapbox token\n```\nnote the /api in the api. This should match whatever you set the environment variable to in the backend, if you set one.\n\nStart the server with:\n\n```shell\nnpm start\n```\nor build it with \n```npm run build``` which creates a directory with a production build of your app. \n\n\n#### 4. Start the backend server, following the instructions in the [backend repository.](https://github.com/dvrpc/link-api)\n\n## Usage\nInteract with the Link app by drawing segments and then clicking 'analyze'. Future functionality will include geoJSON upload and editing a copy of previous projects.\nMore to be added here as the app is developed.\n\n## Contributing\nContributions are welcome. Once this app departs from the prelease stage, [conventional/semantic](https://planning-innovation-resources.ue.r.appspot.com/standards/github/) commits will be enforced.\nIf you'd like to contribute, open a new branch, perform your work, and open a pull request into main. \n\n## User authentication\nIn order to keep user-created projects separate between users in the app, some level of authentication is needed. \nRather than handle this in-house, [auth0](https://auth0.com/) is used, which wraps around the main React routers. \n\nThe auth0 user.nickname is passed down to other parts of the app, and ultimately into the db. \n\nAuth0 has local, staging, and production environments, so these need to be adjusted for production.\nadditionally, auth0 has a list of urls it can route back to after authentication, so the final project domain info \nwill need to be inputted there upon launch.\n\n## License\nThis project uses the GNU(v3) public license. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvrpc%2Flink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvrpc%2Flink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvrpc%2Flink/lists"}