takashabe / go-ddd-sample

DDD like architecture sample application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-ddd-sample

This is sample application for like the DDD architecture.

Design

  • application
    • Write business logic
  • domain
    • Define interface
      • repository interface for infrastructure
    • Define struct
      • Entity struct that represent mapping to data model
  • infrastructure
    • Implements repository interface
    • Solves backend technical topics
      • e.x. message queue, persistence with RDB
  • interfaces
    • Write HTTP handler and middleware

References:

About

DDD like architecture sample application

License:MIT License


Languages

Language:Go 94.9%Language:Makefile 2.6%Language:TSQL 2.5%