A copy of Open SaaS by Wasp: a full-stack React 19 and Node.js app in TypeScript with Prisma and PostgreSQL, packaged to run as one container. It is for developers who want email auth, Stripe payments (with Lemon Squeezy and Polar as alternatives), an admin dashboard, S3 file uploads, an OpenAI demo app and an hourly analytics job in one codebase.
by Light CloudSaaS


Wasp reads main.wasp.ts and the *.wasp.ts files under src/, then generates the client, the Express server and the Prisma layer, so most of your work is React pages plus Wasp queries and actions. The server validates every provider's variables at start through src/env.ts, which is why a deploy begins with placeholder values; when you drop a feature, remove its schema there as well. Set real SMTP values first and change defaultFrom in src/server/emailSender.wasp.ts and fromField in src/auth/auth.wasp.ts, because nobody can log in until the verification email arrives. On Light Cloud the server and client run in one container with exactly one instance, so the pg-boss job never runs twice, and every push to your copy redeploys.
Open SaaS requires email verification, and no email is sent while the SMTP_* variables are placeholders. Set real SMTP values and redeploy; locally you can set SKIP_EMAIL_VERIFICATION_IN_DEV=true in .env.server instead.
Wasp 0.25, declared in main.wasp.ts as ^0.25.0. Install the matching CLI with npm i -g @wasp.sh/wasp-cli@0.25.
In src/payment/paymentProcessor.ts, import lemonSqueezyPaymentProcessor or polarPaymentProcessor and export it as paymentProcessor in place of the Stripe one. Then set that provider's variables and follow the Open SaaS payments guide.
Put your email in ADMIN_EMAILS before you sign up. Admin rights are granted when the account is created.
Yes. Nothing in the app depends on Light Cloud: wasp build produces a Node.js server with a Dockerfile and a static client, which run on any host with Node.js and PostgreSQL.
SMTP_HOSTFilled inEmail — signup & password reset
SMTP_PORTFilled inEmail — signup & password reset
SMTP_USERNAMEFilled inEmail — signup & password reset
SMTP_PASSWORDFilled inEmail — signup & password reset
ADMIN_EMAILSFilled inAdmin dashboard access
STRIPE_API_KEYFilled inPayments (Stripe)
STRIPE_WEBHOOK_SECRETFilled inPayments (Stripe)
PAYMENTS_HOBBY_SUBSCRIPTION_PLAN_IDFilled inPayments — plan ids
PAYMENTS_PRO_SUBSCRIPTION_PLAN_IDFilled inPayments — plan ids
PAYMENTS_CREDITS_10_PLAN_IDFilled inPayments — plan ids
OPENAI_API_KEYFilled inAI demo app
AWS_S3_REGIONFilled inFile uploads (S3)
AWS_S3_IAM_ACCESS_KEYFilled inFile uploads (S3)
AWS_S3_IAM_SECRET_KEYFilled inFile uploads (S3)
AWS_S3_FILES_BUCKETFilled inFile uploads (S3)
LEMONSQUEEZY_API_KEYFilled inPayments (Lemon Squeezy, alternative)
LEMONSQUEEZY_WEBHOOK_SECRETFilled inPayments (Lemon Squeezy, alternative)
LEMONSQUEEZY_STORE_IDFilled inPayments (Lemon Squeezy, alternative)
POLAR_ORGANIZATION_ACCESS_TOKENFilled inPayments (Polar, alternative)
POLAR_SANDBOX_MODEFilled inPayments (Polar, alternative)
POLAR_WEBHOOK_SECRETFilled inPayments (Polar, alternative)
PLAUSIBLE_API_KEYFilled inAnalytics (Plausible)
PLAUSIBLE_SITE_IDFilled inAnalytics (Plausible)
PLAUSIBLE_BASE_URLFilled inAnalytics (Plausible)
GOOGLE_ANALYTICS_CLIENT_EMAILFilled inAnalytics (Google)
GOOGLE_ANALYTICS_PRIVATE_KEYFilled inAnalytics (Google)
GOOGLE_ANALYTICS_PROPERTY_IDFilled inAnalytics (Google)