{"id":18995951,"url":"https://github.com/vindecodex/msgo","last_synced_at":"2025-04-22T13:48:58.058Z","repository":{"id":48110315,"uuid":"389514673","full_name":"vindecodex/msgo","owner":"vindecodex","description":"Hexagonal Architecture implemented in GO","archived":false,"fork":false,"pushed_at":"2021-08-06T04:58:03.000Z","size":51,"stargazers_count":45,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"final","last_synced_at":"2025-04-13T19:59:16.307Z","etag":null,"topics":["architecture","go","golang","hexagonal-architecture"],"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/vindecodex.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-26T05:09:55.000Z","updated_at":"2024-12-06T09:06:28.000Z","dependencies_parsed_at":"2022-09-01T01:13:28.434Z","dependency_job_id":null,"html_url":"https://github.com/vindecodex/msgo","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/vindecodex%2Fmsgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindecodex%2Fmsgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindecodex%2Fmsgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindecodex%2Fmsgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vindecodex","download_url":"https://codeload.github.com/vindecodex/msgo/tar.gz/refs/heads/final","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268561,"owners_count":21240945,"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":["architecture","go","golang","hexagonal-architecture"],"created_at":"2024-11-08T17:33:29.857Z","updated_at":"2025-04-16T19:32:37.894Z","avatar_url":"https://github.com/vindecodex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MSGO - Microservices in Go\n\n### Hexagonal Architecture (Ports \u0026 Adapter)\n\n[Wiki: Hexagonal Architecture](https://en.wikipedia.org/wiki/Hexagonal_architecture_(software))\n\n###### Architecture benefits:\n- loosely coupled\n- interchangeable core application, UI, data objects, test\n- testable\n- flexible (e.g: can change database easily MySQL to MongoDB or any Database)\n\nIt might not be suitable for small application.\n\nMore information about this [here](https://dzone.com/articles/hexagonal-architecture-what-is-it-and-how-does-it)\n\n###### How to run ?\n\nGo Forked and clone this project and cd inside msgo.\n\n`mv ./config/sample.conf.yaml ./config/conf.yaml`\n\n`go run .`\n\n###### Run test ?\n\ntesting state\n\n`go test -v ./dto`\n\ntesting route\n\n`go test -v ./controller`\n\ntesting services\n\n`go test -v ./service`\n\ntest all with one liners\n\n`go test --v ./service ./controller ./dto`\n\n###### With Docker ?\n\nNote: If you have mysql already running you can turn it off: `systemctl stop mysql`\n\n`docker-compose up --build`\n\nor\n\n`docker-compose up`\n\n#### LICENSE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindecodex%2Fmsgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvindecodex%2Fmsgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindecodex%2Fmsgo/lists"}