Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nakabonne/cleanarchitecture-sample
Sample REST API demonstrating the clean architecture
https://github.com/nakabonne/cleanarchitecture-sample
clean-architecture cleanarchitecture golang sample-app
Last synced: 21 days ago
JSON representation
Sample REST API demonstrating the clean architecture
- Host: GitHub
- URL: https://github.com/nakabonne/cleanarchitecture-sample
- Owner: nakabonne
- License: mit
- Created: 2018-07-10T07:04:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T11:09:11.000Z (over 4 years ago)
- Last Synced: 2024-10-03T12:23:15.159Z (about 1 month ago)
- Topics: clean-architecture, cleanarchitecture, golang, sample-app
- Language: Go
- Homepage: https://nakabonne.dev/posts/go-clean-architecture
- Size: 21.6 MB
- Stars: 44
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cleanarchitecture-sample
Sample REST API demonstrating the clean architecture written in golang.
You can see below for more information on implementation pattern.
- [en] [Go × Clean Architecture implementation pattern](https://nakabonne.dev/posts/go-clean-architecture)
- [ja] [Go × Clean Architectureのサンプル実装](http://nakawatch.hatenablog.com/entry/2018/07/11/181453)## Getting Started
### Installation
```
$ git clone https://github.com/nakabonne/cleanarchitecture-sample.git
```### Running with docker
Required: Docker more than 17.05
```sh
$ docker-compose up -d
$ curl http://localhost:8080/hc
hello
```