Skip to content

Latest commit

 

History

285 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
stackyrd
License Go Version Build Status Security Status Release Agents Friendly

stackyrd is an open-source, modular service framework for Go built on Echo. It provides a layered architecture with auto-discovered services, middleware, and infrastructure components - so you can focus on business logic while the framework handles wiring, observability, and lifecycle.

Core Architecture

Layer What it does
Services Business logic modules auto-registered via init(), toggled via config
Middleware Pluggable HTTP middleware chain (JWT, CORS, rate-limit, audit, security headers)
Infrastructure Managed clients for Redis, PostgreSQL, Kafka, MongoDB, MinIO, Grafana - with async init and health checks
TUI / Console Interactive bubbletea dashboard or console fallback

What you can build

  • Microservices with standardized routing, config, and observability out of the box
  • Data pipelines with Kafka, batch processing, and cron scheduling
  • Multi-tenant APIs with per-tenant Postgres/MongoDB connection management

Quick Start

Installation & Run

# Clone the repository
git clone https://github.com/diameter-tscd/stackyrd.git
cd stackyrd

# Install dependencies
go mod download

# Run the application
go run cmd/app/main.go

# To run the CLI tools
./scripts/yrd      # Linux/macOS - auto-selects dist binary
.\scripts\yrd.cmd  # Windows

./scripts/yrd pkg        # package manager
./scripts/yrd service    # service generator
./scripts/yrd swagger    # swagger docs
./scripts/yrd docker     # docker builder
./scripts/yrd build      # compile app

Preview

Console

Documentation

License

Distributed under the Apache License Version 2.0. See LICENSE for full information.

About

A modular service framework for Go. It provides a layered architecture.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages