Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

wild-workouts-go-ddd-example

> 数据库
Open source

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

6.4K stars0 likes1 views
WebsiteGitHub

About

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

Wild Workouts

Wild Workouts is an example Go DDD project that we created to show how to build Go applications that are easy to develop, maintain, and fun to work with, especially in the long term!

The idea for this series, is to apply DDD by refactoring. This process is in progress! Please check articles, to know the current progress.

No application is perfect from the beginning. With over a dozen coming articles, we will uncover what issues you can find in the current implementation. We will also show how to fix these issues and achieve clean implementation by refactoring.

Articles

"Too modern" application

  1. Too modern Go application? Building a serverless application with Google Cloud Run and Firebase [v1.0]
  2. A complete Terraform setup of a serverless application on Google Cloud Run and Firebase [v1.1]
  3. Robust gRPC communication on Google Cloud Run (but not only!) [v1.2]
  4. You should not build your own authentication. Let Firebase do it for you. [v1.3]

Refactoring

  1. Business Applications in Go: Things to know about DRY [v2.0]
  2. When microservices in Go are not enough: introduction to DDD Lite [v2.1]
  3. Repository pattern: painless way to simplify your Go service logic [v2.2]
  4. 4 practical principles of high-quality database integration tests in Go [v2.3]
  5. Introducing Clean Architecture by refactoring a Go project [v2.4]
  6. Introducing basic CQRS by refactoring [v2.5]
  7. Combining DDD, CQRS, and Clean Architecture
  8. Microservices test architecture. Can you sleep well without end-to-end tests? [v2.6]
  9. Repository secure by design: how to sleep better without fear of security vulnerabilities
  10. Running integration tests on Google Cloud Build using docker-compose [v2.7]
  11. More articles are on the way!

Community

We're building a Discord community focused on modern business applications. It's the place to discuss hard topics, request a review, or ask if something's not clear. Come join us!

Directories

  • api OpenAPI and gRPC definitions
  • docker Dockerfiles
  • internal application code
  • Taskfile.yml deployment and development tasks
  • terraform - infrastructure definition
  • web - frontend JavaScript code

Live Demo

The example application is available at https://threedotslabs-wildworkouts.web.app/.

Running locally

…

Google Cloud Deployment

…

Screenshots

Issues· 30 open

View all issuesOpen on GitHub
  • #80

    What operations should be included to Repository?

    Updated Dec 2, 2025
  • #77

    What advice do I have if I want to return clean errors?

    Updated Oct 2, 2025
  • #75

    Project not starting up after git clone?

    Updated Sep 28, 2025
  • #49

    Not able to run code with the Docker-Compose method

    Updated May 22, 2024
  • #74

    Incorrect Mounting in `RunHTTPServerOnAddr` can Lead to Infinite Loop

    Updated Feb 10, 2024
  • #72

    Wrapper for pure GET without any parameters

    Updated Oct 15, 2023
  • #51

    Authorization in repository?

    Updated Sep 18, 2023
  • #69

    Guidelines for starting afresh

    Updated Sep 8, 2023
  • #48

    Not completed logic which needs transaction.

    Updated Jul 17, 2023
  • #63

    Web frontend upgrade to vue3 and python3

    Updated Dec 30, 2022

> Tags

Goclean-architecturecqrsdddfirebase

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库