Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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"
}
```