{"id":42109379,"url":"https://github.com/lordvidex/go-example-server","last_synced_at":"2026-01-26T13:31:37.284Z","repository":{"id":37785581,"uuid":"502702913","full_name":"lordvidex/go-example-server","owner":"lordvidex","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-20T18:46:35.000Z","size":8973,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T00:59:49.923Z","etag":null,"topics":["docker-compose","golang","grpc-go","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lordvidex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-12T18:58:39.000Z","updated_at":"2022-06-16T22:38:48.000Z","dependencies_parsed_at":"2022-06-23T22:11:12.288Z","dependency_job_id":null,"html_url":"https://github.com/lordvidex/go-example-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lordvidex/go-example-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordvidex%2Fgo-example-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordvidex%2Fgo-example-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordvidex%2Fgo-example-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordvidex%2Fgo-example-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lordvidex","download_url":"https://codeload.github.com/lordvidex/go-example-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordvidex%2Fgo-example-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28779340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T11:46:04.308Z","status":"ssl_error","status_checked_at":"2026-01-26T11:46:02.664Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker-compose","golang","grpc-go","rest-api"],"created_at":"2026-01-26T13:31:36.453Z","updated_at":"2026-01-26T13:31:37.280Z","avatar_url":"https://github.com/lordvidex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-example-server \u003ca href=\"https://github.com/lordvidex/go-example-server\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/lordvidex/go-example-server.svg\" alt=\"Go Reference\"\u003e\u003c/a\u003e  \nLearning golang for servers and microservices\n\n## How To Run?\n\n\u003e ### Server\n\nThe server processes can be started `locally` with the make command below.  \n\n**REST and gRPC servers**\n```bash\nmake server # starts the REST \u0026 gRPC server\n```\nOR\n**Docker**\n```bash\ndocker-compose up\n```\n\n\u003e ### Client\n#### HTTP\n**HTTP client**\n```bash\ncurl http://localhost:3000/product # all items\ncurl https://localhost:3000/product/1 # single item\n```\n#### GRPC\n**gRPC client** \n```bash\nbash ./client.sh # returns a single item through gRPC\nbash ./client.sh -all # returns a stream of items through gRPC\n```\nOR.   \n**with [grpcurl](https://pkg.go.dev/github.com/fullstorydev/grpcurl#section-readme)**\n```bash\ngrpcurl -d '{\"id\": \"2\"}' --plaintext localhost:3000 Product.GetProduct # get single  \n\ngrpcurl --plaintext localhost:3000 Product.GetProducts # get all\n```\n\n### **DockerHub** *pull project directly from docker*\nProject can be pulled from docker hub and run directly from docker\n\n```bash\ndocker pull lordvidex/goserver:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordvidex%2Fgo-example-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordvidex%2Fgo-example-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordvidex%2Fgo-example-server/lists"}