{"id":22941472,"url":"https://github.com/v1tbrah/grpc-api","last_synced_at":"2025-04-01T20:44:05.628Z","repository":{"id":154438738,"uuid":"574258787","full_name":"v1tbrah/grpc-api","owner":"v1tbrah","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-04T22:44:54.000Z","size":2731,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:32:18.555Z","etag":null,"topics":["golang","grpc"],"latest_commit_sha":null,"homepage":"","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/v1tbrah.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":"2022-12-04T22:28:46.000Z","updated_at":"2022-12-04T22:45:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"011f447e-6718-4f08-99c6-3056ed0c3fa7","html_url":"https://github.com/v1tbrah/grpc-api","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/v1tbrah%2Fgrpc-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1tbrah%2Fgrpc-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1tbrah%2Fgrpc-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1tbrah%2Fgrpc-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v1tbrah","download_url":"https://codeload.github.com/v1tbrah/grpc-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709919,"owners_count":20821298,"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":["golang","grpc"],"created_at":"2024-12-14T13:40:07.730Z","updated_at":"2025-04-01T20:44:05.600Z","avatar_url":"https://github.com/v1tbrah.png","language":"Go","readme":"# grpc-api\n\n## Installation\n\n`git clone https://github.com/v1tbrah/grpc-api`\n\n## Getting started server\n\n### Starting\n\n* Open terminal. Go to project working directory. Run grpc server. For example:\n ```\n cd ~/go/src/grpc-api\n go run cmd/server/main.go\n ```\n\n### Options\nThe following server options are set by default:\n```\napi server run address: `:8080`\ndirectory with files: `filesSavedInGRPCServer`\nlog level: `info`\n```\n* flag options:\n```\n   -a string\n      api server run address\n   -d string\n      directory with files\n   -l string\n      log level \n```\n* env options you can check in internal/server/config/parse\n\n## Getting started test client\n\n### Save file\n\n* Open terminal. Go to project working directory. Run save file procedure. For example:\n ```\n cd ~/go/src/grpc-api\n go run cmd/userSaveFile/userSaveFile.go\n ```\n\n#### Options\nThe following options are set by default:\n```\ngrpc api server address: `:8080`\ndir with files for sending to server: `filesForSendingToGRPCServer`\n```\n* flag options:\n```\n   -a string\n      api server run address\n   -d string\n      dir with files for sending to server\n```\n\n### Get files info\n\n* Open terminal. Go to project working directory. Run get files info procedure. For example:\n ```\n cd ~/go/src/grpc-api\n go run cmd/userTestGetFilesInfo/userTestGetFilesInfo.go\n ```\n\n#### Options\nThe following options are set by default:\n```\ngrpc api server address: `:8080`\ncount goroutines: 103\n```\n* flag options:\n```\n   -a string\n      api server run address\n   -c int\n      count goroutines\n```\n\n### Get files\n\n* Open terminal. Go to project working directory. Run get files procedure. For example:\n ```\n cd ~/go/src/grpc-api\n go run cmd/userTestGetFiles/userTestGetFiles.go\n ```\n\n#### Options\nThe following options are set by default:\n```\ngrpc api server address: `:8080`\ncount goroutines: 13\n```\n* flag options:\n```\n   -a string\n      api server run address\n   -c int\n      count goroutines\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1tbrah%2Fgrpc-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv1tbrah%2Fgrpc-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1tbrah%2Fgrpc-api/lists"}