GitHub topics

clean-architecture

Mostly in Miscellaneous 10%

Repositories

78

Total stars

57,496

Trending

ThreeDotsLabs

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

Created May 2020

clean-architecture cqrs ddd firebase firestore
Total 6,513
30 days +40
evrone

Clean Architecture template for Golang services

Created Jan 2021

clean-architecture dependency-injection example go golang
Total 7,733
30 days +37
bxcodec

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture

Created Jun 2017

architecture article clean-architecture database go
Total 10,204
30 days +28
kirklin

QZone History 是一个旨在还原和重建 QQ 空间历史的项目。通过收集和分析用户的活动记录,即使某些说说、留言板消息等内容已被删除,本项目也能够进行推理并进行数据重建,帮助用户找回珍贵的历史回忆。

Created Sep 2024

clean-architecture clean-code go golang qq
Total 426
30 days +26
amitshekhariitbhu

A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

Created Jan 2023

api architecture backend clean-architecture docker
Total 6,179
30 days +20
sklinkert

Opinionated Domain Driven Design Template for Go

Created Aug 2023

architecture clean-architecture command-query cqrs cqrs-pattern
Total 831
30 days +10
sazardev

Goca is a powerful CLI code generator for Go that helps you create Clean Architecture projects following best practices.

Created Jul 2025

clean-architecture cli cli-app code-generation go
Total 313
30 days +9
thangchung

☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment

Created Sep 2022

alpinejs clean-architecture consul-connect ddd dependency-injection
Total 4,361
30 days +7
gbrayhan

Golang Microservice Boilerplate using PSQL, Docker and Cucumber, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.

Created Feb 2020

boilerplate boilerplate-go boilerplate-golang boilerplate-microservice clean-architecture
Total 705
30 days +4
vahiiiid

🚀 Production-ready AI-friendly Go REST API boilerplate with Clean Architecture, JWT auth, RBAC, PostgreSQL migrations, and highly tested. AI-optimized with built-in guidelines for most used IDEs. Docker hot-reload, Swagger docs, one-command setup. Build production APIs in minutes, not weeks.

Created Oct 2025

ai ai-guidelines api api-documentation authentication
Total 73
30 days +3

Top

Top 50 of 78

bxcodec

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture

Created Jun 2017

architecture article clean-architecture database go
Total 10,204
evrone

Clean Architecture template for Golang services

Created Jan 2021

clean-architecture dependency-injection example go golang
Total 7,733
ThreeDotsLabs

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

Created May 2020

clean-architecture cqrs ddd firebase firestore
Total 6,513
amitshekhariitbhu

A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

Created Jan 2023

api architecture backend clean-architecture docker
Total 6,179
thangchung

☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment

Created Sep 2022

alpinejs clean-architecture consul-connect ddd dependency-injection
Total 4,361
mehdihadeli

🍕 A practical food delivery microservices, built with Golang, Domain-Driven Design, CQRS, Event Sourcing, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.

Created Jun 2022

bdd boilerplate clean-architecture cqrs cqrs-pattern
Total 1,139
roblaszczak

Clean architecture validator for go, like a The Dependency Rule and interaction between packages in your Go projects.

Created Apr 2017

architecture clean-architecture go golang uncle-bob
Total 985
irahardianto

Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.

Created Aug 2017

api circuit-breaker clean-architecture dependency-injection design-patterns
Total 900
short-d

URL shortening service written in Go and React

Created Jul 2019

clean-architecture codeclimate codecov continuous-delivery datadog
Total 867
sklinkert

Opinionated Domain Driven Design Template for Go

Created Aug 2023

architecture clean-architecture command-query cqrs cqrs-pattern
Total 831
zhashkevych

👨‍💻 REST API example, built by following Uncle Bob’s clean architecture principles

Created Oct 2019

architecture clean-architecture clean-code docker docker-compose
Total 809
GSabadini

Simple API for banking routines using a Clean Architecture in Golang 💳 💰 💸

Created Feb 2020

api architecture banking clean-architecture cleanarchitecture
Total 749
percybolmer

A demo repository that explains an approach to DDD in Go

Created Aug 2021

clean-architecture clean-code ddd ddd-architecture golang
Total 705
gbrayhan

Golang Microservice Boilerplate using PSQL, Docker and Cucumber, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.

Created Feb 2020

boilerplate boilerplate-go boilerplate-golang boilerplate-microservice clean-architecture
Total 705
meysamhadeli

Practical microservices based on different software architecture and technologies like Golang, CQRS, Vertical Slice Architecture, Docker, RabbitMQ, OpenTelemetry and Postgresql.

Created Aug 2022

clean-architecture cqrs ddd echo event-driven-architecture
Total 575
dipeshdulal

Implementation of clean architecture in Go, Gin with dependency injection.

Created Sep 2020

clean-architecture gin-gonic go golang gorm
Total 536
err0r500

a clean architecture implementation of the realworldapp (needs rework)

Created Jul 2018

clean-architecture clean-code ddd ddd-architecture example-project
Total 534
mehdihadeli

A curated list of awesome articles and resources for learning and practicing Go and its related technologies.

Created Dec 2021

awesome awesome-list clean-architecture concurrency ddd
Total 504
kirklin

QZone History 是一个旨在还原和重建 QQ 空间历史的项目。通过收集和分析用户的活动记录,即使某些说说、留言板消息等内容已被删除,本项目也能够进行推理并进行数据重建,帮助用户找回珍贵的历史回忆。

Created Sep 2024

clean-architecture clean-code go golang qq
Total 426
naeemaei

Golang Clean architecture REST API example with a comprehensive real project. It uses docker, docker compose, redis, elasticsearch, kibana, filebeat, postgresql, prometheus, grafana. also use gin, gorm, viper, zerolog, zap, validator, dynamic search, swagger and JWT

Created Jan 2023

clean-architecture docker docker-compose elasticsearch example-project
Total 410
powerman

Example Go monolith with embedded microservices and The Clean Architecture

Created Apr 2020

architecture clean-architecture clean-code embedded-microservices go
Total 356
LordMoMA

a distributed messaging and payment backend built around the hexagonal architecture

Created May 2023

backend-service clean-architecture clean-code go golang
Total 322
spy16

Droplets is a platform for Gophers.

Created Nov 2018

clean-architecture golang platform sample-project
Total 317
sazardev

Goca is a powerful CLI code generator for Go that helps you create Clean Architecture projects following best practices.

Created Jul 2025

clean-architecture cli cli-app code-generation go
Total 313
ThreeDotsLabs

Source code for https://threedots.tech/post/microservices-or-monolith-its-detail/ article.

Created Feb 2018

clean-architecture clean-monolith ddd go golang
Total 308
DoWithLogic

implementation clean architecture with SOLID Principles

Created Sep 2023

boilerplate clean-architecture clean-code go hacktoberfest
Total 305
nurcahyaari

Golang code boilerplate inspired by clean architecture

Created Jun 2020

architecture boilerplate clean-architecture golang rest-api
Total 305
eldimious

Golang API project showcase heavily influenced by the Clean Architecture and Hexagonal Architecture, using PostgreSQL.

Created Jan 2019

boilerplate-api clean-architecture docker gin-gonic golang
Total 291
takashabe

DDD like architecture sample application

Created Dec 2017

clean-architecture ddd go layered-architecture
Total 290
CaptainCodeman

Clean Architecture Example in Go

Created Jul 2016

appengine application-architectures clean-architecture database datastore
Total 279
Caknoooo

⭐ A simple backend implementation of CSR (Controller-Service-Repository) using Gin/Gorm with Dependency Injection, JWT Authentication, and Hot Auto Reload

Created Mar 2023

clean-architecture docker docker-compose docker-golang docker-images
Total 228
hanagantig

Generate GO project layout with essential boilerplate code

Created Jun 2022

architecture clean-architecture code-architecture codegen codegenerator
Total 202
antoniopaya22

Go REST API template you can cut down to what you need: OpenAPI 3.1 contract, JWT auth with refresh rotation, PostgreSQL/SQLite, observability, and an init tool that removes what you do not use

Created Jul 2020

api-template backend boilerplate chi clean-architecture
Total 175
powerman

Example Go service using go-swagger and Clean Architecture

Created Apr 2019

clean-architecture example example-project go go-swagger
Total 169
snykk

A great starting point for building RESTful APIs in Go using Gin framework, and sqlx for connecting to a PostgreSQL database. The implementation follows Clean Architecture principles as described by Uncle Bob.

Created Feb 2023

boilerplate boilerplate-template clean-architecture clean-code gin
Total 161
rafael-piovesan

Toy API implementing idempotency keys using Golang & Clean Architecture

Created Dec 2021

clean-architecture golang idempotency-key repository-pattern testcontainer
Total 161
RanchoCooper

Go Hexagonal Architecture: Enterprise-grade Hexagonal Architectur Framework

Created Nov 2021

clean-architecture ddd hexagonal-architecture template-project
Total 161
mirzaakhena

Clean Architecture Code Generator and Framework

Created Sep 2020

architecture clean-architecture code-consistency code-generator code-structure
Total 155
AkbaraliShaikh

This project is created to demonstrate Go-Lang Clean Architecture/DDD/Hexagonal Architecture, and It show the usage of popular libraries gin, gorm, zap and dig.

Created Dec 2018

clean-architecture ddd-architecture ddd-sample dig gin-gonic
Total 149
golangid

A backend project library & utilities

Created Sep 2020

backend clean-architecture cli code-generator framework
Total 148

Related

All topics →