Full stack microservice template
Production-Ready NestJS Microservice Starter Kit
Launch your SaaS in days, not months with a production-ready NestJS microservices boilerplate — SSO, API gateway, event-driven services, observability, and AWS infrastructure. Buy microservices source code you can ship today.
Next.js storefront, Angular admin dashboard, Keycloak OAuth2/OIDC authentication, RabbitMQ, Redis, PostgreSQL, Docker, Kubernetes, Terraform, and CI/CD — running with one command: docker compose up

Technology stack
What is this NestJS starter kit?
This is a production-ready NestJS microservice starter kit for teams building scalable SaaS, internal platforms, and client projects. You get full microservices source code — not snippets — with a hardened NestJS API gateway, three backend services, two frontends, and enterprise authentication already wired.
Built for developers searching for a Node.js microservices template that goes beyond hello-world demos: Keycloak SSO (OAuth2, OIDC, JWT), RabbitMQ event bus, Redis cache, PostgreSQL databases, GraphQL-ready REST APIs, OpenTelemetry traces, and an AWS deployment path with Terraform and per-service CI/CD pipelines.
Whether you need a Next.js NestJS full stack starter, a Docker microservices reference, or a Kubernetes microservices blueprint for production — this enterprise starter kit saves hundreds of hours and lets you focus on your product domain instead of platform plumbing.
Features of this NestJS microservices boilerplate
Not a toy demo — a complete, working system with the hard parts already solved.
Enterprise SSO built in
Keycloak with a pre-configured realm, OIDC clients, demo users, and role-based access. Silent SSO keeps sessions in sync across both frontends.
Hardened API Gateway
NestJS gateway with JWT validation against Keycloak JWKS, role-based routing, rate limiting, and CORS — every request checked before it reaches a service.
3 production microservices
Catalog, Order, and Notification services with their own databases, service-to-service validation, caching, and health checks.
Event-driven architecture
RabbitMQ topic exchange wired end to end: orders publish events, notifications consume them — with retries and graceful startup.
Stripe checkout built in
Next.js storefront with Stripe Payment Element — create PaymentIntent, verify server-side, and place orders as confirmed on success.
Real SMTP email delivery
Notification service sends HTML order confirmations via nodemailer when SMTP is enabled — every attempt logged in the admin console.
Observability, one switch away
OpenTelemetry traces, logs, and metrics to Grafana Cloud across every service and both frontends. Off by default, enabled with a single env flag.
Ship to AWS with confidence
Terraform for VPC, EC2/K3s, RDS, ElastiCache, and Amazon MQ. 8 GitHub Actions pipelines build, push, and deploy each service independently.
See the kit running
Real screenshots from a live stack — not mockups. You are buying the starter kit and platform wiring, not an ecommerce product.
Platform & integrations
Proof that SSO, services, events, and observability are wired and running — this is what you are buying.




Sample application (replaceable)
An included ecommerce demo with Stripe checkout and real SMTP emails exercises every integration on day one. Replace the domain — keep the platform underneath.




Microservices architecture
Every layer is included, wired together, and working on first start — a complete NestJS architecture from authentication to deployment.
Authentication & security
Enterprise-grade Keycloak authentication with OAuth2, OIDC, and JWT validation on every API request. The NestJS gateway checks roles before traffic reaches microservices — a real-world Keycloak NestJS example you can extend for multi-tenant SaaS, B2B portals, and internal tools without per-user auth fees.
Deployment in three steps
Local Docker development, Kubernetes manifests for staging, and Terraform for AWS — a documented path from laptop to production cluster.
Copy the env files
$ cp .env.example .envThree copy commands, two passwords to set. Everything else is pre-wired for local development.
Start everything
$ docker compose up --build -dAll 11 containers come up with health checks — Keycloak imports the realm, the catalog seeds products.
Open and explore
$ open http://localhost:3000Log in with demo users, place orders, watch events flow to the admin dashboard. Then make it yours.
Stop building boilerplate. Start shipping.

What's included
Every module is production-grade, documented, and works together out of the box.
- ✓Full source code — Two frontends, four backend services, zero obfuscation
- ✓Commercial license — Unlimited personal, commercial, and client projects
- ✓Lifetime access — One-time payment — no subscription, ever
- ✓Future updates — Fixes and improvements for your purchased version
- ✓11 running containers — Full stack up with a single Docker Compose command
- ✓8 CI/CD pipelines — Per-service GitHub Actions: build → registry → deploy
- ✓Kubernetes manifests — Local K8s testing plus production manifests per service
- ✓Terraform AWS module — VPC, K3s EC2, RDS, ElastiCache, Amazon MQ
- ✓Architecture diagrams — Full system, sequence, observability, and AWS views
- ✓Deployment guide — Documented path from laptop to production cluster

Why choose this starter kit?
Free templates get you a login page. This gets you a platform.
| Capability | Free boilerplates | NestJS Microservices Starter Kit |
|---|---|---|
| Enterprise SSO (Keycloak) | ✗ Wire it yourself | ✓ Pre-configured realm & clients |
| API Gateway with roles & rate limits | ✗ Usually missing | ✓ Included & hardened |
| Event-driven services (RabbitMQ) | ✗ Rarely included | ✓ Wired end to end |
| Observability (OTel + Grafana) | ✗ Almost never | ✓ All services + frontends |
| CI/CD pipelines | ✗ Generic single pipeline | ✓ 8 per-service workflows |
| Terraform infrastructure | ✗ Not included | ✓ Full AWS module |
| Documentation | ✗ A README | ✓ Complete guide + diagrams |
| Commercial license | ✗ Unclear licensing | ✓ Clear commercial terms |
Who is this for?
Launch your product on a foundation that scales past MVP
Deliver enterprise-grade client projects in a fraction of the time
A reference architecture your team can standardize on
Study a complete, working system — SSO to observability
Skip the infrastructure phase and spend runway on features
Learn microservices, EDA, and K8s from real code, not slides
Trusted by developers
“[Replace with a real quote — e.g. what they built with the kit and how long it saved them.]”
“[Replace with a real quote — beta testers, colleagues, or early buyers are all fine as long as the quote is real and attributed with permission.]”
“[Replace with a real quote — specific details ('Keycloak + gateway saved me two weeks') convert better than generic praise.]”

A developer experience you'll actually enjoy
- Swagger docs on every service — Explore and test APIs at /docs the moment the stack is up.
- Health checks everywhere — Compose and Kubernetes wait for dependencies — no race conditions.
- Graceful configuration errors — Missing env vars produce clear messages, never silent crashes.
- Structured logging — Every log line carries an event attribute — filterable in Grafana.
One price. Everything included.
Compare that to 200+ hours of senior engineering time — or thousands per month in auth and platform SaaS fees.
one-time payment · no subscription
- ✓Complete source code — all 10 modules
- ✓Commercial license: unlimited projects & client work
- ✓Docker, Kubernetes, Terraform & 8 CI/CD pipelines
- ✓Complete documentation & architecture diagrams
- ✓Free updates for your purchased version
Instant download after purchase · Questions? cyberInfoware@gmail.com
Frequently asked questions
What exactly do I get after purchase?+
The complete source code: two frontends, four backend services, Keycloak configuration, Docker Compose setup, Kubernetes manifests, Terraform AWS module, 8 per-service CI/CD workflows, and full documentation with setup and deployment guides.
Can I use it commercially and for client projects?+
Yes. The commercial license covers unlimited personal and commercial projects, including client work. You keep your modifications private. The only restrictions: no redistributing or reselling the kit itself.
Can I customize everything?+
Yes — you get the full, unobfuscated source code. Swap components, restructure services, rebrand the frontends. It's standard TypeScript/NestJS/Next.js/Angular code with no proprietary lock-in.
Can I replace RabbitMQ, PostgreSQL, or other components?+
Yes. Services communicate through well-defined boundaries — TypeORM abstracts the database (MySQL is a config change; MongoDB means swapping the ORM layer), and the event publisher/consumer logic is isolated so you can move to Kafka, SQS, or NATS.
Can I deploy to Azure or GCP instead of AWS?+
Yes. Everything runs on standard Docker containers and Kubernetes manifests, which work on AKS and GKE as-is. The included Terraform module targets AWS, but the K8s layer is cloud-agnostic — you'd only replace the infrastructure provisioning.
Do I need Kubernetes or AWS knowledge to start?+
No. Locally everything runs with a single docker compose up. Kubernetes manifests and Terraform are included for when you're ready to go to production — with a documented step-by-step path.
How is authentication handled?+
Keycloak (open-source, self-hosted) provides OIDC SSO for both frontends. The API gateway validates JWTs against Keycloak's JWKS on every request, with role-based route protection. No per-user auth fees — ever.
Do I get updates and support?+
You get updates for your purchased version, including fixes and improvements. For questions, licensing, or team setups, email support is available at the address in the footer.
Your next product deserves a head start
Every week you spend on boilerplate is a week your competitors spend on features. Get the foundation done today.