{"id":20640006,"url":"https://github.com/diogomatoschaves/routing-frontend","last_synced_at":"2025-04-15T22:56:59.741Z","repository":{"id":44850241,"uuid":"238894126","full_name":"diogomatoschaves/routing-frontend","owner":"diogomatoschaves","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-18T02:28:37.000Z","size":5956,"stargazers_count":4,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-15T22:56:53.822Z","etag":null,"topics":["frontend","mapbox-gl-js","maps","osrm","react","routing"],"latest_commit_sha":null,"homepage":null,"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/diogomatoschaves.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":null,"security":null,"support":null}},"created_at":"2020-02-07T10:12:37.000Z","updated_at":"2023-08-21T10:14:55.000Z","dependencies_parsed_at":"2023-01-30T18:30:36.916Z","dependency_job_id":null,"html_url":"https://github.com/diogomatoschaves/routing-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomatoschaves%2Frouting-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomatoschaves%2Frouting-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomatoschaves%2Frouting-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomatoschaves%2Frouting-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diogomatoschaves","download_url":"https://codeload.github.com/diogomatoschaves/routing-frontend/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249167439,"owners_count":21223505,"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":["frontend","mapbox-gl-js","maps","osrm","react","routing"],"created_at":"2024-11-16T15:27:35.245Z","updated_at":"2025-04-15T22:56:59.724Z","avatar_url":"https://github.com/diogomatoschaves.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Routing Service Frontend\n\n## Usage\n\nIn order to start using this project, first clone this repo onto your local machine. \n\nCreate a `.env` file at the root of the project and copy the contents of `.env.example` to it, replacing \n`REACT_APP_MAPBOX_TOKEN` by your personal one, available at [mapbox](www.mapbox.com).\n\nInstall dependencies with the following command:\n\n`npm install`\n\nAnd start the development server with:\n\n`npm start`\n\n### OSRM Backend\n\nIn order for the frontend to work you need to have an OSRM server running in the background, ideally in port 5000 (although you can adjust that through the UI on the inspect panel). The best way to achieve this is by using docker and a pre-built image as explained [here](https://hub.docker.com/r/peterevans/osrm-backend), but the basic command to start the server is the following:\n\n```\ndocker run -d -p 5000:5000 -e OSRM_PBF_URL='http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf' \\\n--name osrm-backend peterevans/osrm-backend:latest\n```\n\nwhere `OSRM_PBF_URL` points to the geographic area pbf file you want to route on. You can check [Geofabrik's webpage](https://download.geofabrik.de/) for the correct paths to the files of geographic areas you want to serve.\n\n## Contributing\n\nPull Requests are welcome!\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogomatoschaves%2Frouting-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiogomatoschaves%2Frouting-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogomatoschaves%2Frouting-frontend/lists"}