{"id":17284687,"url":"https://github.com/exu/homework-ports","last_synced_at":"2025-03-26T16:26:00.524Z","repository":{"id":141117705,"uuid":"370269381","full_name":"exu/homework-ports","owner":"exu","description":"Ports with GRPC and HTTP","archived":false,"fork":false,"pushed_at":"2021-05-24T07:44:12.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T21:07:24.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/exu.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-05-24T07:43:57.000Z","updated_at":"2021-05-24T07:44:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c0a11d8-504f-470b-80ca-c901749e81b1","html_url":"https://github.com/exu/homework-ports","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/exu%2Fhomework-ports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fhomework-ports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fhomework-ports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Fhomework-ports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exu","download_url":"https://codeload.github.com/exu/homework-ports/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245691065,"owners_count":20656697,"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":[],"created_at":"2024-10-15T09:54:43.377Z","updated_at":"2025-03-26T16:26:00.497Z","avatar_url":"https://github.com/exu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solution\n\nEntrypoints resides in cmd/{data,domain} dirs. Each of them are entrypoints for both domain and data services\n\n\n# What's missing (no more time :( )\n\n- Tests a lot o them. \n- Some structs should be initialized, configured in better way (e.g. not only single ones are conifiugred with envs etc.)\n- No logs, metrics, repeating\n- Not implemented requirements from task - e.g. graceful shutdown of GRPC server\n- No docker-compose used \n\n\n\n# Running \n\nto run please disable local mongo or disable local mongo (no time for docker-compose)\nand be sure to have ports 9090 and 9091 free (works on linux with network=host)\n\n```sh\ncp ${YOUR_PATH_TO_PORTS_JSON_FILE}/ports.json ./\nmake build     # builds docker files\nmake run       # runs everythuing on your local machine as detached docker containers be sure to have free ports\n\n\n# when everything start \ncurl -X POST http://localhost:9090/ports\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Fhomework-ports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexu%2Fhomework-ports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Fhomework-ports/lists"}