Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juststeveking/go-api
A simple Go API following concepts of Domain Driven Design for educational purposes.
https://github.com/juststeveking/go-api
api api-rest ddd domain-driven-design educational-project go golang openapi-specification openapi3
Last synced: about 4 hours ago
JSON representation
A simple Go API following concepts of Domain Driven Design for educational purposes.
- Host: GitHub
- URL: https://github.com/juststeveking/go-api
- Owner: JustSteveKing
- Created: 2020-07-15T14:18:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T10:51:45.000Z (about 4 years ago)
- Last Synced: 2024-09-25T10:40:47.604Z (about 4 hours ago)
- Topics: api, api-rest, ddd, domain-driven-design, educational-project, go, golang, openapi-specification, openapi3
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go API
A simple Go API following concepts of Domain Driven Design for educational purposes.
Open API specification can be found [here](docs/reference/openapi.v1.yaml)
## Installation
Clone the repo
```bash
$ git clone [email protected]:JustSteveKing/go-api.git
``````bash
$ cd go-api
```## Running
Once installed, simply spin up the docker container:
```bash
$ docker-compose up -d --build
```This will give you a single endpoint for now under: `http://localhost:8080/ping` which is a healthcheck URL, and will return the following:
```json
{
"message": "Service Online"
}
```