What's in every generated SaaS codebase
Authentication system (not just a login page)
- Register, login, logout, forgot password, reset password, verify email — all working
- JWT in httpOnly, Secure, SameSite=Lax cookies (not localStorage, not a plain cookie)
- Bcrypt password hashing
- Route-level auth guards on every protected endpoint
- Session management and token expiry
Multi-tenant workspace model
- Every entity scoped to a workspace/organization — no cross-tenant data leaks
- Workspace invitation system (invite by email, accept, revoke)
- Role-based access control: owner, admin, member out of the box
- Per-workspace settings and billing
Billing integration (Stripe)
- Subscription plans (free, pro, enterprise) with trial periods
- Upgrade/downgrade flow
- Billing portal (customer.portal redirect)
- Usage-based metering hooks if your product bills by consumption
- Webhook handler for subscription lifecycle events (checkout.completed, subscription.deleted, payment.failed)
Email system
- Transactional email via SendGrid (or Postmark, Resend — configurable)
- Templates: welcome, email verification, password reset, workspace invitation, payment failed
- Queue-based sending (Celery or background jobs) so email failures don't block the request
SaaS-standard pages (frontend)
- Marketing homepage shell
- Pricing page wired to your Stripe plans
- Auth pages (login, register, forgot password, verify email)
- Onboarding flow (2–5 steps, configurable)
- Dashboard shell
- Settings (profile, workspace, billing, notifications, integrations)
- Admin panel for internal ops
All your product-specific entities Everything above is the SaaS foundation. On top of it, Archiet generates your specific product:
- All entity models from your PRD
- CRUD API routes for each entity
- Frontend list/detail/create/edit views per entity
- Business logic from your user stories
Stacks supported
Every SaaS boilerplate generation is available in:
| Backend | Frontend | Notes | |---|---|---| | Flask (Python) | Next.js 14+ (App Router) | Most common, battle-tested | | FastAPI (Python) | React (Vite) | API-first, type-safe | | Django (Python) | Next.js | Full ORM, admin panel included | | NestJS (TypeScript) | Next.js | Full-stack TypeScript | | Laravel (PHP) | Next.js | Eloquent ORM, Artisan commands | | Go + Chi | Next.js | High-performance, small binary | | Java Spring Boot | React | Enterprise teams | | Ruby on Rails | Next.js | Convention over configuration | | .NET | React | Microsoft ecosystem |
Mobile app (React Native / Expo) is generated alongside any backend.
vs buying a pre-built boilerplate
| Factor | Pre-built boilerplate (Shipfast, Divjoy, etc.) | Archiet generated SaaS | |---|---|---| | Time to working code | Minutes | 90 seconds | | Shaped to your data model | No — generic entities | Yes — your entities, your fields, your relationships | | Your compliance requirements | No — GDPR, HIPAA, PCI, SOC 2 are not in the template | Yes — compliance overlays generated from your data model when flagged | | Architecture documentation | None | ADRs for every material decision | | Stack choice | Fixed to the template's stack | 9 web stacks, 2 enterprise stacks, desktop | | Quality scoring | Your responsibility | 5-dimension automated quality review before delivery | | Mobile app included | Rarely | Yes — React Native (Expo) generated alongside web app | | Ongoing updates | Re-purchase / fork | Regenerate from updated requirements |
What ships in docs/
Every generated SaaS boilerplate includes:
docs/decisions/— ADRs for: database choice, auth approach, billing provider, email provider, deployment strategy, and all other material decisionsdocs/traceability/matrix.md— user stories → entities → routes → testsdocs/security/posture.md— attack surface map, auth control table, pre-launch security checklistdocs/cost/tco.md— projected monthly cost per user at different MAU levelsdocs/handoff-readme.md— 5-question orientation guide for new engineers or auditors
CTA
Generate your SaaS boilerplate from your requirements — free plan, no credit card.
Describe your product (or upload a PRD), pick your stack, and have a complete, production-ready SaaS foundation in under two minutes.
Start free at archiet.com.