
Template - App starter - About 30 minutes to first run
App starter: auth with email plus password and session handling
1
Auth with email plus password and session handling
2
Organizations with member roles (owner, member)
3
Stripe subscription wiring in test mode
4
A settings page, a dashboard shell, and an empty-state design that does not look broken
Step 1
Clone, rename the project, and set the environment variables from the included .env.example - every key is annotated with where to get it.
Step 2
Run the seed script to create your first organization and owner account.
Step 3
Verify the billing flow end to end in Stripe test mode before touching any feature code.
Step 4
Replace the sample feature with yours; the org and billing scaffolding stays untouched.
A first run from clone to billing. Sample checklist (example).
| Step | Command or action | Expected |
|---|---|---|
| Env | Copy .env.example, fill keys | App boots locally |
| Seed | Run the seed script | One org, one owner |
| Billing | Stripe test card 4242 4242 4242 4242 | Subscription active in test mode |
| Feature | Replace the sample feature | Org and billing code untouched |
The numbers shown are examples. Swap in your own.
Done looks like
Mistakes to avoid
Each connector page describes what it does.
Download the starter (zip) - a real, dependency-free Node app (v0.2.0): boots with npm start, passes npm test (boot, health check, sign-in, per-account data separation, CSRF, session expiry, login throttle and, for the billing starter, signed-webhook checks). External services run in clearly labeled mock mode until you add keys from the annotated .env.example.
Security upgrade notice. Earlier downloads of this starter had an open data API, shared data between accounts and a default or printed login. Check your ZIP's SHA-256 (first 16 characters): v0.1.0 (first release) 0276793b74ba4e21; v0.1.1 (interim fix, Nov 28 00:19-00:3x HST) db90c702455bb6d2. If yours matches, replace it with this version and follow SECURITY-UPGRADE.md inside the new ZIP; your data is not touched by this site.
Related playbook: Add payments to a side project
Plan for about 30 minutes to first run for the first run. The install steps above are in order, and the worked example shows what a finished setup looks like with example data.
The starter is built to be followed step by step. Every step is readable on this page and in the linked playbook, and the Postgres, Stripe, Vercel connector pages cover the services involved.
Clone, rename the project, and set the environment variables from the included .env.example - every key is annotated with where to get it.
Other templates that use the same services: Personal finance tracker · Landing + waitlist · Directory site
This template follows Add payments to a side project. The same steps, with the free tool that does each one.
Step 1 of 5
Decide one-time or subscription before touching code; mixing both in v1 doubles the webhook surface.
Step 2 of 5
Build the pricing section with pricing-page-builder so the offer is clear before the payment form exists.
Use Pricing Page Builder. Describe your tiers and get a clean pricing page - monthly/yearly toggle math included - exported as one standalone HTML file.
Step 3 of 5
Wire the checkout in test mode and use webhook-tester to confirm your endpoint receives and verifies the payment event.
Use Webhook Tester. Build webhook payloads, sign them with HMAC, and get the exact curl command to fire them
Step 4 of 5
Gate the paid feature on the webhook result, never on the redirect back from checkout - users close tabs.
Step 5 of 5
Run one real $1 charge on your own card in live mode, then refund it. Now you know it works.
These run in your browser with no account.
One line per tier - name, monthly price, key features - and get a pricing page with a highlighted plan, a yearly toggle with discount math, and a standalone HTML export.
Real output from the tool
YOU ENTER: Input Starter | 0 | 3 projects, Community support *Pro | 24 | Unlimited projects, Priority support, Custom domains Enterprise | contact | SSO, Audit logs, Dedicated manager Product Acme Yearly discount % 20 Preview period m THE TOOL RETURNS: Starter Free 3 projects - Community support Pro POPULAR $24/mo Unlimited projects - Priority support - Custom domains Enterprise Contact us SSO - Audit logs - Dedicated manager
Compose the JSON, sign it like the real provider would, and copy the curl that fires it. Webhook integrations stop needing a staging deploy to test.
Real output from the tool
YOU ENTER:
Preset
github
Input
{"event":"user.created","data":{"id":"u_123","email":"new@customer.com"}}
Input
whsec_test_123
Input
https://localhost:3000/webhooks/provider
THE TOOL RETURNS:
curl -X POST 'https://localhost:3000/webhooks/provider' \
-H 'Content-Type: application/json' \
-H 'X-Hub-Signature-256: sha256=d2a7a1778ccddd6311aa21be3f1cb4bb29f1772b80bfdac1d57832f6e0e68734' \
--data-binary '{"event":"user.created","data":{"id":"u_123","email":"new@customer.com"}}'Type who it is from and to, add line items as description, qty and rate, and set a discount and one tax rate. The totals are added as exact decimals and rounded to cents by stated rules. Lines that cannot be read are listed, and nothing is printed or copied until every line is valid.
Each connector page shows whether it is available yet.
Uses:
Until it ships, set this part up by hand in Stripe.
Uses:
Until it ships, set this part up by hand in Vercel.
Uses:
Until it ships, set this part up by hand in PostgreSQL.
Use 0 as the price; it renders as Free.
Use a price of contact and it renders as Contact us.
No. Signing happens in your browser with the Web Crypto API. The secret never leaves the tab.
HMAC-SHA256, hex and base64 output, with sha256= prefix styles for GitHub and Stripe formats.

Each template lists what ships inside and the install steps.