{"id":21253026,"url":"https://github.com/lazhari/link-shortener","last_synced_at":"2025-04-14T03:52:52.499Z","repository":{"id":145774168,"uuid":"293871528","full_name":"Lazhari/link-shortener","owner":"Lazhari","description":"Link shortener is an implementation of the hexagonal architecture using Go, MongoDB, and Redis","archived":false,"fork":false,"pushed_at":"2020-09-08T22:26:12.000Z","size":265,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T17:51:56.521Z","etag":null,"topics":["go","hexagonal-architecture","messagepack","microservice","mongodb","redis"],"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/Lazhari.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":"2020-09-08T16:49:01.000Z","updated_at":"2024-11-28T17:44:30.000Z","dependencies_parsed_at":"2023-05-17T23:30:59.012Z","dependency_job_id":null,"html_url":"https://github.com/Lazhari/link-shortener","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/Lazhari%2Flink-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lazhari%2Flink-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lazhari%2Flink-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lazhari%2Flink-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lazhari","download_url":"https://codeload.github.com/Lazhari/link-shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819359,"owners_count":21166474,"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":["go","hexagonal-architecture","messagepack","microservice","mongodb","redis"],"created_at":"2024-11-21T03:49:41.452Z","updated_at":"2025-04-14T03:52:52.470Z","avatar_url":"https://github.com/Lazhari.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go micro-service using Hexagonal Architecture\n\n\u003e Link shortener is an implementation of the hexagonal architecture using Go, MongoDB and Redis.\n\n![Hexagonal Architecture](doc/hexagonal-architecture.png)\n\n## Starting the service\n\n### Redis\n\n```\nexport URL_DB=redis\nexport REDIS_URL=redis://localhost:6379\ngo run .\n```\n\n### MongoDB\n\n```\nexport URL_DB=mongo\nexport MONGO_URL=mongodb://localhost/shortener\nexport MONGO_DB=shortener\nexport MONGO_TIMEOUT=30\ngo run .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazhari%2Flink-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazhari%2Flink-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazhari%2Flink-shortener/lists"}