Every SaaS founder builds the same things from scratch: auth, payments, multi-tenancy, admin dashboard, email, deployment. That's 80-160 hours and $4K-$16K in developer time — before writing a single line of business logic.
I got tired of rebuilding the same boilerplate for the 4th time. So I packaged it.
Introducing Cloudrix — SaaS Starter Kit
NestJS 11 + Angular 21 in an Nx monorepo. Production-ready. Buy once, get the full source code, build your SaaS on top.
"We don't win by writing another login screen." — Every founder, eventually.
Live Demo: demo.cloudrix.io
The Tech Stack
| Layer | Technology |
|---|---|
| Backend | NestJS 11, TypeScript 5.9 |
| Frontend | Angular 21, Tailwind CSS v4 |
| Database | PostgreSQL + TypeORM |
| Queue | Redis + BullMQ |
| Resend (7 templates) | |
| Infra | Docker, Terraform (AWS), GitHub Actions |
| Monorepo | Nx |
| Monitoring | Sentry |
What You Get — Feature by Feature
Authentication (Complete, Not a Tutorial)
Email/password, Google OAuth, magic links, two-factor authentication (TOTP with QR codes + backup codes), JWT with refresh token rotation, account lockout after failed attempts, email verification.
Multiple strategies: JWT, Local, Google — with role-based guards and decorators baked in.
This isn't a blog post auth system. This is what you'd build after 3 years of production incidents taught you all the edge cases.
Stripe Payments — Ready to Charge Day One
Subscriptions, one-time payments, usage-based billing, customer portal, webhook handling, invoice management, payment retry logic.
Stripe webhooks are a special kind of pain — dozens of edge cases around failed charges, subscription upgrades, proration, and dunning. All handled.
Multi-Tenancy That Actually Isolates Data
Organizations with 4 roles (Owner, Admin, Member, Viewer). Team invitations. Org switching.
Shared database with automatic tenant isolation at the repository level. Developers physically cannot query another tenant's data. Not "be careful" — cannot.
Admin Dashboard
User management (view, edit, suspend, delete), platform statistics (MRR, churn, signups), audit logs for every admin action, role management, search, pagination. Dark mode included.
Email System — 7 Production Templates
Via Resend with retry logic:
- Welcome
- Email verification
- Password reset
- Magic link
- Team invitation
- Invoice
- Subscription confirmation
All styled. All tested. Ready to send.
Deployment — Local to Production
- Docker Compose for local dev (full stack in one command)
- Production Dockerfiles with nginx config
- Terraform configs for AWS: ECS, RDS, ElastiCache, S3, CloudFront
- GitHub Actions CI/CD with approval gates
- Railway and Vercel configs included
Security — Enterprise-Grade
- Rate limiting (3 tiers)
- HMAC request signing
- API key management (generate, rotate, revoke)
- CORS locked to frontend domain
- CSP headers + Helmet
- Audit logging — 20+ action types
- GDPR compliance (data export + deletion)
50+ Production API Endpoints
Full Swagger/OpenAPI documentation included. Every endpoint is documented, tested, and ready.
By the Numbers
| Metric | Count |
|---|---|
| Source files | 130+ |
| Test files | 55+ |
| API endpoints | 50+ |
| TypeORM entities | 8 |
| Email templates | 7 |
| RBAC roles | 4 |
| Audit log actions | 20+ |
Why NestJS + Angular? Because the Market Has a Next.js Monoculture.
I counted: 38+ NestJS boilerplates exist, but only 7 are NestJS + Angular. Meanwhile, ShipFast, Supastarter, MakerKit, and every trending boilerplate on Hacker News is Next.js-based.
If your team already works with Angular and NestJS — or you prefer a strongly-typed, modular, enterprise-grade architecture — the market had almost nothing for you.
Cloudrix fills that gap.
The Math Speaks for Itself
What Buyers Are Saying
"Saved us 3 weeks of boilerplate. The auth and Stripe integration are production-quality — we just added our business logic on top." — Alex Chen, CTO
"Finally a NestJS boilerplate that includes Docker and AWS. The Terraform modules alone are worth the Enterprise price." — Sarah Johnson, Senior Developer
"I used to spend the first month of every client project on auth and payments. Now I start with the actual features from day one." — Marcus Kim, Freelance Developer
Pricing — One-Time Purchase, Not a Subscription
| Plan | Price | Highlights |
|---|---|---|
| Lite | Free | MIT-licensed, basic auth, Docker setup, project structure |
| Starter | $149 | Full auth, Stripe, PostgreSQL, email, admin dashboard, Swagger |
| Pro | $249 | + Docker full-stack, BullMQ, multi-tenancy, RBAC, S3, webhooks |
| Enterprise | $399 | + AWS Terraform, CI/CD, Nx microservices, k6 load testing, Sentry, GDPR |
All paid plans: lifetime access, free updates, 14-day refund guarantee.
Try It Now
Free lite version on GitHub — MIT-licensed with basic auth, Docker setup, and 380+ lines of documentation.
Live demo: demo.cloudrix.io — 55 pages including full Swagger API docs.
You're not building a login system. You're building your product. Start there.





Top comments (0)