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

https://github.com/theognis1002/go-dragonstone

Go web-service to query the dragons of Westeros!
https://github.com/theognis1002/go-dragonstone

gin-framework go golang makefile mongodb rest-api

Last synced: 2 months ago
JSON representation

Go web-service to query the dragons of Westeros!

Awesome Lists containing this project

README

          

# Project go-dragonstone

Simple Gin HTTP endpoint with MongoDB docker image. The application allows for querying different dragons within the world of Westeros!

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

## MakeFile

run all make commands with clean tests

```bash
make all build
```

build the application

```bash
make build
```

run the application

```bash
make run
```

Create DB container

```bash
make docker-run
```

Shutdown DB container

```bash
make docker-down
```

live reload the application

```bash
make watch
```

run the test suite

```bash
make test
```

clean up binary from the last build

```bash
make clean
```