Skip to content

sudachi0114/cleanArchitecture-go-api

Repository files navigation

Clean Architecture API Server

go 言語で Clean Architecture な API Server を作って、 クリーンアーキテクチャについて理解を深めるリポジトリ

Execution help

  • main
$ go run src/app/main.go

or

$ make
  • docker container
$ make compose/up

endpoint

  • user の登録 : POST /users
$ curl -i -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"FirstName": "suzuki", "LastName": "taro"}' localhost:8080/users
  • user の一覧取得 : GET /users
$ curl localhost:8080/users

Links

About

learn clean architecture by making go api server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published