Skip to content

reearth/server-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server-scaffold

This is an example repository for showing the standard module design used in Re:Earth's Go server application.

  • cmd: Entrypoint
  • internal
    • boot: Read the config, initialize DB drivers, etc., and finally initialize usecases and run the appropriate transport layer.
    • infra: Implements repos, policies, and gateways.
      • gcp
      • mongo
      • ...
    • transport: UI layer
      • cli
      • echo
      • gql
      • ...
    • usecase: Defines interfaces of repos, policies, and gateways.
      • xxxuc Actual usecase implementation
      • ...
  • pkg: Domain models

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages