Golang Simple Clean Architecture Application
- install postgresql
$ createdb golang_practice_development
$ createdb golang_practice_test
$ createdb golang_practice_e2etest
- set the private key and
$ make deploy
$ go run app/main.go
$ curl http://localhost:9000/categories -X POST -d '{"name": "category", "display_order": 1}'
$ make test
- 簡単なブログアプリケーションのバックエンドAPIをクリーンアーキテクチャで実装してみました。
ArticleWriterCategoryの三種類のモデルで設計を意識して書きました。