Serverless SaaS starter for AWS
In development · no release date yet
Serverless SaaS on AWS, with the spend caps built in.
A starter kit being extracted from the code that runs fiscura.ro in production: Cognito auth, Stripe billing, and per-user usage and AI-spend caps, in plain AWS CDK you own. About $0 while idle. No Next.js, no Vercel.
- Built from code live on fiscura.ro
- Plain AWS CDK v2 · Node 24
- About $0 idle on the default config
# planned v1 flow, not released yet$ git clone <your-repo-url> my-saas && cd my-saas$ yarn && yarn deploy -c env=prod ✓ web S3 + CloudFront ✓ api HTTP API + Node 24 Lambda ✓ auth Cognito user pool ✓ caps DynamoDB usage table# next: connect Stripe (documented steps)Built from code that runs in production
Not a demo repo. The same code runs a live product.
Fiscura, a live Romanian e-invoicing API at fiscura.ro, runs today on the pieces this kit is being extracted from: the Cognito auth construct, Stripe checkout and webhooks, the DynamoDB usage-cap store and the CloudFront-derived cap key. The kit will package that code, generalised, with docs.
v1 is solo-founder scope: one account, one subscription. Teams and roles are on the roadmap, not the v1 promise.
- Live: fiscura.ro
- Built by Gaperi Consult S.R.L., Brașov, RO
- Support: contact@gaperi.ro

What's in the kit
Planned v1: one repo with three workspaces. Every feature below already runs in Gaperi’s own products; the kit will package it.
my-saas/ ├─ infra/ AWS CDK v2, the whole stack │ ├─ bin/app.ts account, region, dev / prod │ └─ lib/constructs/ │ ├─ webapp.ts S3 + CloudFront, same-origin /api/* │ ├─ api.ts HTTP API + Node 24 Lambda, throttled │ ├─ auth.ts Cognito user pool + SPA client │ ├─ billing.ts Stripe webhook handling │ └─ store.ts DynamoDB tables, usage caps, PITR ├─ api/ Node 24 Lambda handlers │ ├─ src/handlers/api.ts the router for /api/* │ ├─ src/lib/auth.ts JWT verify, fails closed │ ├─ src/lib/usage.ts per-user, per-day cap store │ ├─ src/lib/stripe.ts checkout, portal, webhook sync │ ├─ src/lib/llm.ts capped LLM layer │ └─ src/**/*.test.ts vitest ├─ web/ Vite + React SPA │ ├─ src/pages/ your screens │ └─ src/index.css OKLCH tokens, one-line re-hue ├─ .github/workflows/deploy.yml OIDC deploy, no AWS keys └─ README.md setup guide + construct reference
CDK infrastructure
runs this siteS3 + CloudFront for the page and a Node 24 Lambda on an HTTP API, served same-origin under /api/*. Plain AWS CDK v2 you can read and change.
Cognito auth
runs fiscura.roEmail sign-up and sign-in, with JWT-protected routes that fail closed.
Stripe billing
runs fiscura.roCheckout, webhook handling and the customer portal.
Per-user usage caps
packages/usageAtomic per-user, per-day counters in DynamoDB with TTL: every Lambda instance counts against the same total, not its own copy.
Spoof-proof cap key
runs fiscura.ro · testedCaps key on the address CloudFront sets, never a header the caller controls, and an origin check stops callers skipping CloudFront to forge it.
AI spend accounting
packages/llmA provider-agnostic LLM layer (Anthropic or Bedrock) with per-call cost accounting you can cap per user.
Sign-up email
runs fiscura.roCognito verification and password-reset mail from your own domain via SES. Needs SES production access.
CI/CD with OIDC
runs this siteGitHub Actions deploys through an OIDC role, so no long-lived AWS keys sit in the repo.
Tests + strict TypeScript
fiscura.ro · packagesVitest suites and strict TypeScript, including regression tests for both security fixes.
Not in v1: teams and roles, social login, an admin dashboard, and a Clerk or Supabase auth guide.
One request, end to end, all in your AWS account
No host owns your rendering. Every box below is a resource CDK creates in your account and region.
Scroll sideways to see the whole diagram →
- SAME-ORIGIN
- /api/* is routed at CloudFront. No CORS, no build-time API URL.
- SCALE-TO-ZERO
- DynamoDB + Lambda, pay-per-request. About $0 idle.
- YOURS
- Plain CDK in your account. Delete the stack and it’s gone; nobody else hosts it.
The patterns inside, from code running today
Verbatim excerpts from the codebases the kit is being extracted from, with their real paths. Shipped files may be organised differently.
additionalBehaviors: { 'api/*': { origin: apiOrigin, viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.HTTPS_ONLY, allowedMethods: cloudfront.AllowedMethods.ALLOW_ALL, cachePolicy: cloudfront.CachePolicy.CACHING_DISABLED, originRequestPolicy: cloudfront.OriginRequestPolicy .ALL_VIEWER_EXCEPT_HOST_HEADER, responseHeadersPolicy: headers, },},This page’s own infrastructure. The page and its API share one origin: no CORS config, no build-time API URL, and the Host header is dropped so the HTTP API accepts the request.
Both security fixes are pinned by regression tests: fiscura/api/src/lib/cap-key.test.ts and packages/llm/src/provider.test.ts.
How a forged header can bypass a per-IP spend cap, with a live demo
What setup will look like
The planned v1 flow. Setup time will be measured on a clean AWS account and published at launch.
- 01
Clone
Clone your private copy of the repo.
git clone <your-repo-url> my-saas
- 02
Deploy
One command creates the infrastructure in your AWS account and region.
yarn && yarn deploy -c env=prod
- 03
Connect Stripe
Add your keys and the webhook in a few documented dashboard steps; then billing is live.
# follow docs/stripe.md
- 04
Go live
Request SES production access for real sign-up email, then point your domain.
# follow docs/launch.md
How it compares
The closest AWS-native kits, as listed on their own sites on 29 September 2026. The Liftstack column is the planned v1.
| Planned v1Liftstack | Nextless.js | Scale to Zero AWS | |
|---|---|---|---|
| Availability | In development | Available | Available |
| Price | From €199 one-time (planned, incl. VAT) | From $699 | From $180 |
| Frontend | Vite + React SPA | Next.js | React (Vite) |
| Infrastructure as code | AWS CDK v2 | AWS CDK + Serverless Framework | AWS CDK |
| Database | DynamoDB | Postgres, MySQL, MongoDB or DynamoDB | DynamoDB |
| Auth | Cognito | Cognito (email + social) | Cognito |
| Payments | Stripe | Stripe | Stripe or Lemon Squeezy |
| Teams / multi-tenancy | Roadmap | Yes | Not listed |
| Per-user spend caps | Yes | Not listed | Not listed |
| Capped LLM layer | Yes | Not listed | Not listed |
| Updates | Every release free for 5+ years | 1 year, then $199/yr | Lifetime on Gold ($220) |
Availability
- Liftstack
- In development
- Nextless.js
- Available
- Scale to Zero AWS
- Available
Price
- Liftstack
- From €199 one-time (planned, incl. VAT)
- Nextless.js
- From $699
- Scale to Zero AWS
- From $180
Frontend
- Liftstack
- Vite + React SPA
- Nextless.js
- Next.js
- Scale to Zero AWS
- React (Vite)
Infrastructure as code
- Liftstack
- AWS CDK v2
- Nextless.js
- AWS CDK + Serverless Framework
- Scale to Zero AWS
- AWS CDK
Database
- Liftstack
- DynamoDB
- Nextless.js
- Postgres, MySQL, MongoDB or DynamoDB
- Scale to Zero AWS
- DynamoDB
Auth
- Liftstack
- Cognito
- Nextless.js
- Cognito (email + social)
- Scale to Zero AWS
- Cognito
Payments
- Liftstack
- Stripe
- Nextless.js
- Stripe
- Scale to Zero AWS
- Stripe or Lemon Squeezy
Teams / multi-tenancy
- Liftstack
- Roadmap
- Nextless.js
- Yes
- Scale to Zero AWS
- Not listed
Per-user spend caps
- Liftstack
- Yes
- Nextless.js
- Not listed
- Scale to Zero AWS
- Not listed
Capped LLM layer
- Liftstack
- Yes
- Nextless.js
- Not listed
- Scale to Zero AWS
- Not listed
Updates
- Liftstack
- Every release free for 5+ years
- Nextless.js
- 1 year, then $199/yr
- Scale to Zero AWS
- Lifetime on Gold ($220)
Where Liftstack differs: per-user usage and AI-spend caps keyed on an address the caller can’t forge, and code that already runs a live product. Where the others lead today: they are available now, and Nextless ships teams and an admin dashboard.
Competitor details as listed on their sites on 29 Sep 2026. Check the current offer before you buy either.
Planned pricing
A one-time licence. Not on sale yet: join the waitlist and we’ll email you if and when sales open.
Solo
€199one-time, incl. VAT
Founder price €149 for the first 25 buyers
- 1 developer seat
- The full kit: infra, auth, billing, usage caps and the LLM layer
- Unlimited projects of your own
- Setup guide and construct reference
- Recommended for freelancers
Unlimited
€349one-time, incl. VAT
- Everything in Solo
- Build and deliver client projects
- Unlimited commercial and client use
Agency
€599one-time, incl. VAT
- Everything in Unlimited
- Up to 5 developer seats
- Client delivery rights (no resale of the kit itself)
- A private builders’ channel
- One-time, no subscription
- Every update free for at least 5 years from release
- Commercial licence
- Checkout via a Merchant of Record at launch, EU VAT handled
- Built and licensed by Gaperi Consult S.R.L.
Questions
Is it available now?
Not yet. The kit is in development and has no release date. This page is live so we can gauge interest before building the full package. Join the waitlist and we’ll email you when it’s ready.
Can I see the code before I buy?
The excerpts above are verbatim from the production code the kit is being extracted from, with their real paths. Waitlist members hear first when the kit is ready.
Is this Next.js?
No, on purpose. It’s a lean Vite + React single-page app on CloudFront plus Node Lambdas. If you want serverless on AWS without Next.js or Vercel, that’s the point.
Why Cognito? I’ve heard it’s painful.
It’s the most common complaint about AWS auth, and a fair one. The plan keeps Cognito behind one module so it can be swapped later; a Clerk or Supabase guide is on the roadmap.
Do I need to know AWS CDK?
Basics help. The infrastructure is a handful of readable constructs, and the docs will include a per-construct reference. Most changes are config, not CDK.
What will AWS cost me?
About $0 while idle on the default config: DynamoDB on-demand and Lambda, with no NAT gateway and no always-on database. Costs grow with real usage; the docs will show how to add an AWS Budgets alert.
Why buy this if an AI can scaffold it?
An AI will happily scaffold a usage cap that trusts a spoofable header, or a client cache that mixes two customers’ API keys. The kit will ship both fixes with their regression tests, taken from code that already runs in production.
Why not AWS’s free starters, or an AI agent’s SaaS recipe?
Pick them when they fit: AWS’s SaaS Factory reference is built for multi-tenant ISVs, and its serverless full-stack starter kit is a solid general base. As of September 2026 neither ships Stripe billing or per-user spend caps, and AWS’s own docs call API Gateway usage-plan quotas best-effort, not a cost control. The kit is code that already runs a live product, with regression tests for the failure modes that cost money: forged cap keys and a client cache that mixes up two customers’ API keys.
Will it work with coding agents?
That’s the plan. The kit will ship an AGENTS.md and one verify command your agent must keep green: typecheck, tests, cdk synth, and the regression tests for the cap-key and client-cache fixes.
What about teams and multi-tenancy?
v1 is solo-founder scope: one account, one subscription, with auth, billing and caps. Teams and roles are on the roadmap, not the v1 promise.
Licensing and updates?
A one-time commercial licence. Every buyer gets every release, security fixes and new features alike, free for at least 5 years from release; the exact end date will be shown at checkout. Checkout will run through a Merchant of Record, so EU VAT is handled. Built and licensed by Gaperi Consult S.R.L.
What happens to my email?
Gaperi Consult S.R.L. keeps it in its own AWS account in Frankfurt and emails you only about Liftstack: first a link to confirm it, then if and when sales open, plus the occasional build update. An address nobody confirms is deleted after 30 days; a confirmed one within 24 months of joining, or sooner if you ask. Every email has a link to stop them; after that we keep only a keyed hash of the address, so nobody can sign it up again. Backups roll off within 7 days, and if our email to you bounces or is marked as spam, Amazon SES keeps the address on a do-not-send list. Email contact@gaperi.ro to be removed or to see what we hold. Our general privacy policy is at gaperi.ro/privacy.html.
What does this site record about my visit?
No cookies and no third-party scripts. Page views and button presses are logged with the page, the button, the referring site and the campaign tag, and no IP address or other identifier. To count each visitor once a day, and to cap the waitlist form and the live demo, the API keeps a keyed hash of your IP address (for IPv6, of its /64) and, for a repeat signup, of the email address, with that day’s counters, never the values themselves. DynamoDB deletes them after midnight UTC, usually within a day or two.
Stop re-wiring the same three weeks.
Join the waitlist to hear when the kit is ready. The first 25 buyers get founder pricing.
In development · no release date yet.