Overview

Introduction to SuperSvelte

The production-grade full-stack boilerplate built for Svelte 5, Hono RPC, and Neon Postgres.

SuperSvelte is designed to solve the fatigue of assembling 15 different npm packages just to build a SaaS. It ships with battle-tested authentication, multi-tenant teams, payments, background queues, and type-safe RPC pre-wired and running with sub-10ms edge cold starts.

Every library was chosen for strict type-safety, minimal bundle footprint, and maximum developer velocity.

tech-stack.ts
export const stack = {
  frontend: 'Svelte 5 (Runes) + Tailwind CSS v4 + shadcn-svelte',
  api: 'Hono Zod OpenAPI 3.1 (Zero-Codegen RPC)',
  auth: 'Better-Auth (Credentials + GitHub OAuth + Orgs)',
  database: 'Neon Serverless Postgres + Drizzle ORM',
  payments: 'Polar.sh (Merchant of Record & License Keys)',
  cache: 'Upstash Redis & Sliding Window Rate Limiting',
  queue: 'Upstash QStash (HMAC-Verified Background Workers)',
  storage: 'UploadThing (Direct-to-S3 Cloud Storage)',
  email: 'Resend Transactional Email Delivery'
};

By using the Neon serverless HTTP driver, Upstash REST endpoints, and Hono, the entire application can run on serverless platforms (Netlify, Vercel, Cloudflare) without running into database connection pool limits or slow cold-starts.