Skip to content

This project is a practical exercise in using the clean code pattern for application architecture.

Notifications You must be signed in to change notification settings

madsilver/silver-clean-code

Repository files navigation

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/

About

This project is a practical exercise in using the clean code pattern for application architecture.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published