Stop rebuilding
SaaS infrastructure.

BootSaaS is a production-oriented Spring Boot & Angular source code boilerplate.

Get lifetime access to the private GitHub repository
and skip the repetitive infrastructure setup.

No shortcuts. No hype. Just a solid foundation.

Get Early Access

Private Beta — now available


Every SaaS needs the exact same foundation.

Authentication. Strict tenant isolation. Database provisioning. Security configuration. Docker networking. Nginx reverse proxy. Structured logging.

None of these features differentiate your product. Yet, you will still spend your first few weeks wrestling with Spring Security CORS filters, stateless JWTs, and configuring Liquibase to isolate your PostgreSQL schemas properly.

BootSaaS gives you a working, production-oriented SaaS infrastructure. Skip the tedious plumbing and spend those weeks building the business logic your users actually care about.


The Architecture

bootsaas-boilerplate/
├── docker-compose.yml
├── .env
├── saas-backend/               # Spring Boot 4.0.6 (Core architecture)
│   ├── Dockerfile
│   ├── pom.xml
│   └── src/main/
│       ├── java/.../saas_backend/core/
│       │   ├── config/
│       │   ├── interceptors/       # Multi-tenant context resolution
│       │   ├── security/           # Argon2id & JWT Access Tokens
│       │   ├── controllers/
│       │   ├── services/
│       │   └── repositories/
│       └── resources/
│           └── logback-spring.xml  # JSON file rotation logging
└── saas-frontend/              # Angular 21 (UI in active development)
    ├── package.json
    └── src/app/
        ├── features/
        ├── layout/             # Base structure
        ├── shared/
        └── app.routes.ts

What you get on day one

A complete local environment running in minutes.

$ docker compose up -d --build

nginx       Started
postgres    Started
spring-api  Started
BootSaaS stack is ready.

API:        http://localhost:8080
Frontend:   http://localhost:4200

Liquibase migrations applied.
Database schema up to date.

Currently included

Everything you need to launch.

Core Multi-Tenant Architecture
  • Schema-per-Tenant: Strict database-level isolation.
  • Dynamic Provisioning: Auto-created via Liquibase.
Identity & Workspace Management
  • Role-Based Access (RBAC): Clean hierarchy (Owner, Admin, Member) enforced per workspace.
  • Team Invitations: Ready-to-use email invitation flows to onboard new tenant members.
  • Authentication Workflows: Complete password-reset and email verification flows out of the box.
Security Baseline
  • Argon2id Hashing: Standard secure password storage.
  • Stateless JWT: Access tokens implemented.
  • CORS & Filters: Pre-configured Spring Security baseline.
Modern Stack & Tooling
  • Spring Boot 4.0.6 & Angular 21
  • Docker Infrastructure: Pre-configured PostgreSQL, Nginx & Mailpit (local SMTP testing).
  • Production Observability: Built-in global error interceptors, MDC tracking, and Logback JSON file rotation.

Roadmap
(Included in lifetime updates)

Planned for v1.0
  • Secure JWT Refresh: HttpOnly cookies implementation.
  • Stripe Webhooks Integration: Billing infrastructure.
  • Outbox Pattern: Idempotent events for reliable webhooks.

How Tenant Isolation Works

Strict database-level isolation without blocking your users.

BootSaaS handles multi-tenancy at the database schema level, ensuring absolute data separation between your customers. Here is what happens under the hood when a new workspace is created:

1
Workspace Registration

A synchronous transaction creates the organization record in the global public schema with a tracking status, ensuring data consistency (rollback on failure).

2
Async Workflow Triggered

An asynchronous background job is fired instantly, ensuring the initial HTTP request returns immediately without blocking the user.

3
PostgreSQL Schema Creation

The system dynamically provisions a physically isolated database schema for the new tenant.

4
Liquibase Migration

Migration changelogs are automatically executed against the newly created schema.

5
Owner Bootstrap

The initial administrator account is provisioned directly inside the tenant's schema.

6
Stateless Request Routing

Once provisioned, subsequent requests bypass global lookups. The interceptor resolves the tenant context directly from the stateless JWT claims, routing queries to the correct PostgreSQL schema on the fly.


Built for engineers who expect production.

Join the private beta now.

Private Beta Pricing

Pay once. Build unlimited SaaS products. No subscriptions.

$299 $79 USD / One-time

What you get instantly:

  • ✓ Immediate access to the private GitHub repository
  • ✓ Core backend architecture (Spring Boot, Multi-tenant, Security)
  • ✓ Base Angular 21 frontend structure
  • ✓ Dockerized local environment (Postgres, Nginx, Mailpit)

Lifetime Updates Included:

  • ✓ Upcoming Stripe Webhooks integration
  • ✓ Upcoming Secure JWT Refresh logic
  • ✓ All future UI components and architectural updates
Get Early Access - $79

How Delivery Works

Checkout

Enter your GitHub username in the custom field during purchase (or don't if you just want the ZIP file).

Instant Pipeline

An automated system instantly sends a repository invitation to your GitHub account

Download Assets

Grab your receipt to download the Access Guide PDF and an initial ZIP snapshot of the code.

Clone & Ship

Accept the GitHub invite, clone the repository, and run git pull for all future free updates.


Requirements

No local Java, Node.js, or PostgreSQL installation required.

Everything is fully encapsulated. BootSaaS uses multi-stage builds to compile and run the entire stack within containers. Your local machine stays clean.

Docker 24+

If you are on Windows or macOS, simply install Docker Desktop.

Git & GitHub Account
Optional

Required if you want to join the private repository and easily run git pull for lifetime updates. Otherwise, you can simply download the standalone source code ZIP file directly from your receipt.


Simple License

You receive a perpetual commercial license to use and modify the source code.
The only rule: you cannot resell or redistribute the boilerplate source code itself.


Frequently Asked Questions

Everything you need to know before getting started.

Is this a subscription or a one-time payment?

It is a one-time purchase of $79. Your purchase includes lifetime access to the BootSaaS source code and updates released for the boilerplate. There are no recurring fees or usage-based charges for the purchased product.

Why is BootSaaS currently in Private Beta?

Early adopters lock in lifetime access for $79. Once the Stripe integration, JWT refresh logic, and frontend UI are finalized, the public v1.0 price will be $299.

Can I use this for multiple commercial projects?

You receive a perpetual commercial license to use and modify BootSaaS. You can use BootSaaS to build unlimited SaaS products, internal enterprise tools, or freelance client projects. The only restriction is that you cannot resell or redistribute the boilerplate source code itself.

How will I get access to the upcoming Stripe & Outbox updates?

Your purchase includes lifetime access to BootSaaS updates. When new features or improvements are released for the boilerplate, they will be available through the private GitHub repository. When the Stripe integration is released, for example, you can pull the latest version from the main branch.

I have more questions, how can I reach out?

You can contact me directly at founder@bootsaas.dev. You can also follow the project's updates or reach out via DMs on X (@BootSaaSDev) and Reddit (u/BootSaaS).