Skip to content

diameter-tscd/stackyrd-nano

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

198 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
stackyrd-nano
License Go Version Build Status Security Status Release Agents Friendly

stackyrd-nano is a lightweight, modular service framework for Go built on Gin. It provides auto-discovered services, middleware, and infrastructure components — so you can focus on business logic while the framework handles wiring 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 PostgreSQL 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
  • REST APIs with cursor-based pagination, request validation, structured responses
  • Real-time features with built-in WebSocket hub
  • Fault-tolerant services with circuit breakers, retry, and timeout patterns

Quick Start

Installation & Run

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

# Install dependencies
go mod download

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

# To build the application
go run scripts/build/build.go

# To download package
go run scripts/pkg/pkg.go

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 and more.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 79.0%
  • HTML 18.2%
  • Go Template 2.1%
  • Dockerfile 0.7%