Skip to content

takashabe/go-ddd-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Releases

No releases published

Packages

No packages published