A full-stack SaaS starter kit in TypeScript with a React 19 single-page app built by Vite and an Express 5 API on Node.js, using PostgreSQL, Better Auth, Drizzle ORM, Tailwind CSS and shadcn/ui. It is for developers who want sign-up, teams with roles, onboarding, Stripe subscriptions, an admin page, API keys and a REST API already built, served by one Node.js process.
by Light CloudSaaS


In development npm run dev starts the API on port 8080 with node --watch and Vite on port 5173, which proxies /api to Express; npm run build then compiles the client into dist/client and the server into dist/server for a single process to serve. One origin means session cookies work without CORS, and Helmet adds security headers with a content security policy on top. The first change is usually replacing the Projects example: the table is in server/src/db/schema.ts, the rules in server/src/lib/projects.ts, validation in shared/schemas.ts and the pages in client/src/pages/app/. On Light Cloud the deploy runs npm ci, npm run build and npm start on PORT with DATABASE_URL and a generated AUTH_SECRET set, and each push to your copy redeploys.
Yes. This MIT-licensed starter has Stripe Checkout, the Customer Portal and a webhook at /api/auth/stripe/webhook, switched on once STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_PRO and STRIPE_PRICE_BUSINESS are set. Only the workspace owner can upgrade.
One origin means session cookies work without CORS, and there is one thing to deploy. Vite still runs separately in development and proxies /api to Express.
Run npx shadcn@4.23.0 add <name> from the project root; components land in client/src/components/ui. Colours, radius and font are tokens at the top of client/src/index.css.
No. It needs PostgreSQL and the Free plan does not include databases, so it needs a paid plan. Deploying on one creates the database, sets DATABASE_URL and generates AUTH_SECRET.
Yes. There is no Light Cloud code in it: any Node.js 22.22 host with PostgreSQL runs it with npm ci, npm run build and npm start, once DATABASE_URL, AUTH_SECRET and NODE_ENV=production are set.


Ship sign-up, teams, Stripe billing and an admin panel on Next.js and PostgreSQL


Launch a SaaS with auth, payments, an admin dashboard and an AI demo on Wasp
Start an Express CRUD API on PostgreSQL with validation, paging and tests set up