{"id":13491315,"url":"https://github.com/AleksK1NG/Go-Clean-Architecture-REST-API","last_synced_at":"2025-03-28T08:32:58.150Z","repository":{"id":45376883,"uuid":"297116925","full_name":"AleksK1NG/Go-Clean-Architecture-REST-API","owner":"AleksK1NG","description":"Golang Clean Architecture REST API example","archived":false,"fork":false,"pushed_at":"2024-05-20T13:29:00.000Z","size":628,"stargazers_count":864,"open_issues_count":3,"forks_count":152,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T16:13:31.963Z","etag":null,"topics":["aws-s3","clean-architecture","docker","example-project","go","golang","gomock","jaeger","pgx","postgresql","redis","rest-api","sqlx","swagger","testify","tracing","viper","zap"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/AleksK1NG.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-20T16:28:17.000Z","updated_at":"2025-03-27T14:22:51.000Z","dependencies_parsed_at":"2025-03-21T14:31:14.198Z","dependency_job_id":null,"html_url":"https://github.com/AleksK1NG/Go-Clean-Architecture-REST-API","commit_stats":null,"previous_names":["aleksk1ng/api-mc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AleksK1NG%2FGo-Clean-Architecture-REST-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AleksK1NG%2FGo-Clean-Architecture-REST-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AleksK1NG%2FGo-Clean-Architecture-REST-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AleksK1NG%2FGo-Clean-Architecture-REST-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AleksK1NG","download_url":"https://codeload.github.com/AleksK1NG/Go-Clean-Architecture-REST-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245996475,"owners_count":20707246,"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":["aws-s3","clean-architecture","docker","example-project","go","golang","gomock","jaeger","pgx","postgresql","redis","rest-api","sqlx","swagger","testify","tracing","viper","zap"],"created_at":"2024-07-31T19:00:55.542Z","updated_at":"2025-03-28T08:32:58.123Z","avatar_url":"https://github.com/AleksK1NG.png","language":"Go","readme":"### Golang [Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) REST API example 🚀\n\n#### 👨‍💻 Full list what has been used:\n* [echo](https://github.com/labstack/echo) - Web framework\n* [sqlx](https://github.com/jmoiron/sqlx) - Extensions to database/sql.\n* [pgx](https://github.com/jackc/pgx) - PostgreSQL driver and toolkit for Go\n* [viper](https://github.com/spf13/viper) - Go configuration with fangs\n* [go-redis](https://github.com/go-redis/redis) - Type-safe Redis client for Golang\n* [zap](https://github.com/uber-go/zap) - Logger\n* [validator](https://github.com/go-playground/validator) - Go Struct and Field validation\n* [jwt-go](https://github.com/dgrijalva/jwt-go) - JSON Web Tokens (JWT)\n* [uuid](https://github.com/google/uuid) - UUID\n* [migrate](https://github.com/golang-migrate/migrate) - Database migrations. CLI and Golang library.\n* [minio-go](https://github.com/minio/minio-go) - AWS S3 MinIO Client SDK for Go\n* [bluemonday](https://github.com/microcosm-cc/bluemonday) - HTML sanitizer\n* [swag](https://github.com/swaggo/swag) - Swagger\n* [testify](https://github.com/stretchr/testify) - Testing toolkit\n* [gomock](https://github.com/golang/mock) - Mocking framework\n* [CompileDaemon](https://github.com/githubnemo/CompileDaemon) - Compile daemon for Go\n* [Docker](https://www.docker.com/) - Docker\n\n#### Recomendation for local development most comfortable usage:\n    make local // run all containers\n    make run // it's easier way to attach debugger or rebuild/rerun project\n\n#### 🙌👨‍💻🚀 Docker-compose files:\n    docker-compose.local.yml - run postgresql, redis, aws, prometheus, grafana containrs\n    docker-compose.dev.yml - run docker development environment\n    docker-compose.delve.yml run development environment with delve debug\n\n### Docker development usage:\n    make docker\n\n### Local development usage:\n    make local\n    make run\n\n### SWAGGER UI:\n\nhttps://localhost:5000/swagger/index.html\n\n### Jaeger UI:\n\nhttp://localhost:16686\n\n### Prometheus UI:\n\nhttp://localhost:9090\n\n### Grafana UI:\n\nhttp://localhost:3000","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAleksK1NG%2FGo-Clean-Architecture-REST-API","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAleksK1NG%2FGo-Clean-Architecture-REST-API","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAleksK1NG%2FGo-Clean-Architecture-REST-API/lists"}