tsdevstack

Infrastructure as Framework

From zero to production in an hour, not months.

tsdevstack is an open-source full-stack framework you install. It generates production code and infrastructure you own.

Local Docker stackMicroservices + SPAsDatabase + migrationsWorkers + scheduled jobsAPI gatewayMulti-cloud TerraformObservabilityDNS + WAFCloud secrets54-tool MCP server
$npx @tsdevstack/cli init
Get StartedWhy tsdevstack?
DiscordContact
For your Agent
Scaffold a tsdevstack project in one shot

Paste this into Claude Code, Cursor, or your AI agent of choice. It scaffolds a fullstack-auth project locally and brings up Kong, Postgres, and Redis.

Infrastructure as Framework

Infrastructure as Code
Describe cloud resources in files you commit and apply.
Platform as a Service
Hide cloud resources behind a hosted runtime.
Infrastructure as Framework
Declare services and capabilities in one config. The framework generates the infrastructure code, and you own it.

No hosted platform, no vendor lock-in.

Google CloudAWSAzure

Deploy to any major cloud provider

What you get

Two layers, both driven by one config: a runtime library you import into your services, and infrastructure files the CLI generates for local and cloud.

Runtime modules
@tsdevstack/nest-common
  • Authentication (JWT, Kong user injection)
  • Database with Prisma and migrations
  • Logging, Prometheus metrics, OpenTelemetry tracing
  • BullMQ workers and scheduled jobs
  • Storage (S3 / GCS / Azure Blob)
Generated infrastructure
From config.json + infrastructure.json
  • Local Docker Compose (Postgres, Redis, Kong, MinIO)
  • Kong gateway routes from OpenAPI specs
  • Terraform for GCP, AWS, or Azure
  • GitHub Actions CI/CD workflows
  • Cloud secrets, DNS, WAF

One config. Full infrastructure.

You define your project. The framework generates Terraform, Docker Compose, Kong routes, CI/CD pipelines, and secrets.

config.json
{
  "projectName": "my-saas",
  "cloud": "gcp",
  "services": [
    {
      "name": "auth-service",
      "type": "nestjs",
      "hasDatabase": true
    },
    {
      "name": "frontend",
      "type": "nextjs"
    }
  ],
  "storage": {
    "buckets": ["uploads"]
  }
}
Generated infrastructure
TerraformVPC, Cloud SQL, Redis, Cloud Run, IAMDocker ComposePostgres, Redis, Kong, MinIO, servicesKong GatewayRoutes from OpenAPI, JWT validation, rate limitingObservabilityPrometheus, Grafana, Jaeger, structured loggingCI/CDGitHub Actions workflows, OIDC auth, per-service deploySecretsJWT keys, API keys, DB URLs — local and cloudWAFCloud Armor / AWS WAF / Front Door rulesStorageS3 / GCS / Azure Blob + MinIO for local dev

Built for AI agents

MCP server with 54 tools. Your AI agent understands the framework, deploys services, configures infrastructure, and manages secrets without hallucinating CLI commands.

AWS

Multi-cloud infrastructure

GCP, AWS, Azure. Same framework, generated Terraform, CI/CD pipelines.

Free & open source

No registration needed. Bring your own cloud account. No vendor lock-in, no platform fees. You only pay your cloud provider.

SOC2

Production-grade by default

OWASP-aligned authentication, observability (Prometheus, Grafana, Jaeger), and compliance controls (SOC 2, ISO 27001, GDPR) wired in. No extra setup.

GitHubnpmDiscordXMediumdev.to
tsdevstack on Nick Launches
tsdevstack demo
Watch the demo — 90s