Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/juliocesarscheidt/go-orm-api-clean-arch
- Owner: juliocesarscheidt
- License: mit
- Created: 2023-01-27T19:04:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T01:21:33.000Z (10 months ago)
- Last Synced: 2024-02-26T02:31:57.414Z (10 months ago)
- Topics: api-rest, clean-architecture, docker, docker-compose, go, go-orm, mocking, mysql, openapi, prisma, prometheus, semaphore-ci, sonarqube
- Language: Go
- Homepage:
- Size: 314 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
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 mysqldocker-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
```