Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 2.56 KB

README.md

File metadata and controls

41 lines (35 loc) · 2.56 KB

Silver Clean Code

Badge Quality Gate Status Duplicated Lines (%) Code Smells Security Rating Coverage

This project is a practical exercise in using the clean code pattern for application architecture. Feel free to submit suggestions and pull requests.

Configuration

Environment variables

variable default description
SERVER_NAME echo server http framework name (echo / gin)
SERVER_PORT 8000 server port
DB_NAME mysql db name (mysql / postgres)
MYSQL_USER silver
MYSQL_PASSWORD silver
MYSQL_DATABASE silverlabs
MYSQL_HOST localhost
MYSQL_PORT 3306
POSTGRES_USER silver
POSTGRES_PASSWORD silver
POSTGRES_DATABASE silverlabs
POSTGRES_HOST localhost
POSTGRES_PORT 5432

Usage

Start using it

make run

Makefile

Use make help or only make to check all the available commands.

API Documentation

http://localhost:8000/swagger/