Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/juliocesarscheidt/go-orm-api-clean-arch


https://github.com/juliocesarscheidt/go-orm-api-clean-arch

api-rest clean-architecture docker docker-compose go go-orm mocking mysql openapi prisma prometheus semaphore-ci sonarqube

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Simple Go API implementing clean architecture, using Mux, Go ORM and Prometheus

## Running with docker compose

```bash
docker-compose up -d mysql
docker-compose logs -f --tail 100 mysql

docker-compose up -d --build go-orm-api
docker-compose logs -f --tail 100 go-orm-api
```

## Code coverage

It was used Sonarqube to gather the coverage for unit tests.

![Quality Gate](./quality-gate/sonarqube.png)

Run sonarqube scan:

```bash
cd quality-gate && bash run.sh
```