Built by a senior backend engineer with 28+ years of experience

Build your Go SaaS
on a tested foundation

Start with authentication, Stripe subscriptions, PostgreSQL, monitoring, and deployment assets. Review and configure each component for your application before deployment.

Get RigorStack — $149 → View Features
$ git clone https://github.com/bobsmedia/rigorstack.git my-saas
$ cd my-saas && cp .env.example .env
$ make docker-up
# → Start the local app and PostgreSQL containers.
1.23+
Go version
0
Node.js build steps
5
Email templates

Core SaaS building blocks.
Plain Go structure.

Layered Go code with explicit handlers, services, repositories, and infrastructure adapters.

🔐

JWT Authentication

Register, login, refresh tokens. Secure cookie rotation. bcrypt password hashing. Ready to use.

💳

Stripe Billing

Hosted Checkout, customer portal, and webhook signature verification.

🐘

PostgreSQL + Migrations

Connection pooling with pgxpool. golang-migrate for schema management. Up/down support.

🐳

Docker + Compose

Multi-stage Alpine build with a non-root runtime user. Compose includes PostgreSQL, with pgAdmin in an opt-in tools profile.

☸️

Kubernetes Manifests

Deployment, Service, HPA, and Ingress starting points. Review resources, TLS, security, and environment settings before deployment.

📊

Monitoring

Prometheus request counts and latency metrics at /metrics, plus health and database-readiness endpoints.

🔄

CI/CD Pipeline

GitHub Actions for lint, tests, builds, releases, GHCR images, and a post-push Trivy scan.

📖

OpenAPI Spec

An OpenAPI 3 starting specification with request and response schemas. Verify it against application routes as the API changes.

🛡️

Application Middleware

Rate limiting, CORS, structured logging, and graceful shutdown with configurable policies.

Clean architecture.
Clean code.

HTTP Request
    │
    ▼
┌──────────────────────────────────────────────┐
│              Chi Router                      │
│  CORS → RateLimit → Logging → Auth        │
└──────────────────┬───────────────────────────┘
    │
    ▼
┌──────────────────┴───────────────────────────┐
│             Handlers                       │
│  auth │ user │ billing │ health            │
└──────────────────┬───────────────────────────┘
    │
    ▼
┌──────────────────┴───────────────────────────┐
│             Services                       │
│  AuthService │ UserService │ BillingService  │
└──────────────────┬───────────────────────────┘
    │
    ▼
┌──────────────────┴───────────────────────────┐
│        Repository (PostgreSQL)               │
│  UserRepo │ SessionRepo │ SubscriptionRepo  │
└──────────────────────────────────────────────┘

Simple pricing.
No surprises.

One-time payment. Source code included. License terms apply.

Basic
$149
One-time · Source included
  • Clean architecture (handler → service → repo)
  • JWT auth with refresh tokens
  • PostgreSQL with migrations
  • Docker + Docker Compose
  • GitHub Actions CI
  • Rate limiting, CORS, structured logging
  • Health checks + Prometheus metrics
  • OpenAPI 3.0 specification
  • Makefile with 20+ targets
Get Basic →

Questions?

Is this a subscription service?

No. It is a one-time source-code purchase governed by the license supplied with your order.

Does it include a frontend?

Yes. RigorStack ships with a full server-rendered frontend using Go's html/template, HTMX for dynamic interactions, and TailwindCSS + DaisyUI for styling. You get login, registration, dashboard, settings, API key management, and billing pages out of the box. The REST API is also available if you prefer to build a custom SPA.

Can I swap the database?

Yes. The repository layer is behind interfaces. Implement the interfaces for MySQL, SQLite, or any other database.

What Go version do I need?

Go 1.23 or later. The code uses modern Go idioms including generics where appropriate.

Stop building boilerplate.
Start building products.

Start from the included application foundation, then validate it for your product and deployment environment.

Get RigorStack →