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!
- Host: GitHub
- URL: https://github.com/theognis1002/go-dragonstone
- Owner: theognis1002
- Created: 2024-08-02T02:18:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T02:58:21.000Z (almost 2 years ago)
- Last Synced: 2024-08-24T02:01:48.631Z (almost 2 years ago)
- Topics: gin-framework, go, golang, makefile, mongodb, rest-api
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```