{"id":20826751,"url":"https://github.com/cedrickchee/grpc-basic-tutorial","last_synced_at":"2025-12-26T06:07:59.779Z","repository":{"id":138118300,"uuid":"410512556","full_name":"cedrickchee/grpc-basic-tutorial","owner":"cedrickchee","description":"gRPC basic tutorial - create a geo indexer service","archived":false,"fork":false,"pushed_at":"2021-09-26T09:51:45.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T17:49:38.177Z","etag":null,"topics":["educational-project","golang-examples","grpc-go","protocol-buffers"],"latest_commit_sha":null,"homepage":"https://www.grpc.io/docs/languages/go/basics/","language":"Go","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/cedrickchee.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-26T09:51:13.000Z","updated_at":"2024-11-01T11:31:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7c32b00-7fa5-4afb-9dd3-2684bd930664","html_url":"https://github.com/cedrickchee/grpc-basic-tutorial","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/cedrickchee%2Fgrpc-basic-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fgrpc-basic-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fgrpc-basic-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fgrpc-basic-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedrickchee","download_url":"https://codeload.github.com/cedrickchee/grpc-basic-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243174035,"owners_count":20248220,"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":["educational-project","golang-examples","grpc-go","protocol-buffers"],"created_at":"2024-11-17T23:09:55.430Z","updated_at":"2025-12-26T06:07:59.725Z","avatar_url":"https://github.com/cedrickchee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geo Indexer\n\nGeo Indexer traverse and index points along a route.\n\nServices that are part of Geo Indexer:\n- `RouteGuide`\n  - `GetFeature`: Obtains the feature at a given position.\n  - `ListFeatures`: Obtains the features available within the given region(rectangle).\n  - `RecordRoute`: Accepts a stream of points on a route being traversed.\n  - `RouteChat`: Accepts a stream of `RouteNote`s sent while a route is being\n    traversed. A `RouteNote` is a message sent while at a given point.\n\n## Usage\n\nExecute the following commands from the project root directory:\n\n1. Run the server:\n\n```sh\n$ go run server/server.go\n```\n\n2. From another terminal, run the client:\n\n```sh\n$ go run client/client.go\n```\n\nYou’ll see output like this:\n\n```sh\n2021/09/26 17:35:33 name:\"Berkshire Valley Management Area Trail, Jefferson, NJ, USA\" location:{latitude:409146138 longitude:-746188906}\n2021/09/26 17:35:33 Getting feature for point (0, 0)\n2021/09/26 17:35:33 location:{}\n2021/09/26 17:35:33 Looking for features within lo:{latitude:400000000 longitude:-750000000} hi:{latitude:420000000 longitude:-730000000}\n2021/09/26 17:35:33 Feature: name: \"Patriots Path, Mendham, NJ 07945, USA\", point:(407838351, -746143763)\n2021/09/26 17:35:33 Feature: name: \"101 New Jersey 10, Whippany, NJ 07981, USA\", point:(408122808, -743999179)\n2021/09/26 17:35:33 Feature: name: \"U.S. 6, Shohola, PA 18458, USA\", point:(413628156, -749015468)\n2021/09/26 17:35:33 Feature: name: \"5 Conners Road, Kingston, NY 12401, USA\", point:(419999544, -740371136)\n2021/09/26 17:35:33 Feature: name: \"Mid Hudson Psychiatric Center, New Hampton, NY 10958, USA\", point:(414008389, -743951297)\n  [... snipped ...]\n2021/09/26 17:35:33 Traversing 49 points.\n2021/09/26 17:35:33 Route summary: point_count:49 distance:416162755\n2021/09/26 17:35:33 Got message First message at point(0, 1)\n2021/09/26 17:35:33 Got message Second message at point(0, 2)\n2021/09/26 17:35:33 Got message Third message at point(0, 3)\n2021/09/26 17:35:33 Got message First message at point(0, 1)\n2021/09/26 17:35:33 Got message Fourth message at point(0, 1)\n2021/09/26 17:35:33 Got message Second message at point(0, 2)\n2021/09/26 17:35:33 Got message Fifth message at point(0, 2)\n2021/09/26 17:35:33 Got message Third message at point(0, 3)\n2021/09/26 17:35:33 Got message Sixth message at point(0, 3)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Fgrpc-basic-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedrickchee%2Fgrpc-basic-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Fgrpc-basic-tutorial/lists"}