k-masashi / try-go-clean-arch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

try-go-clean-arch

Goでクリーンアーキテクチャを試す

Architecture

Clearn Archtecture
大きく4つのレイヤーに分けた

  • domain
  • usecase
  • adapter (interface)
  • infrastructure

API

APIのサンプルとして以下のエンドポイントを用意

GET

  • api/v1/courses
  • api/v1/course/:id

Get Started

  • Dockerビルド
make docker
  • APIサーバおよびDBサーバの起動
make run
  • 終了
make stop

Ref

About


Languages

Language:Go 92.7%Language:Makefile 4.2%Language:Dockerfile 3.1%