Documentation
Hands-on guides for setting up and extending this starter kit.
Quick Start
Sep 29, 2025
Get the Sushi SaaS template running locally with pnpm, explore i18n routes, health checks, and MDX blogs, and learn where to configure auth, billing, and docs.
Database Setup
Sep 29, 2025
Configure Postgres and Drizzle ORM — the backbone for auth, billing, storage, tasks, and app tables.
Authentication & Admin Architecture
Sep 29, 2025
Deep dive into how this template handles Better Auth sessions, OAuth, RBAC, and business data modeling for credits and quota.
Stripe Setup
Sep 29, 2025
Use Stripe Checkout for payments and finalize via webhooks to grant credits. Configure environment variables, create sessions, handle callbacks, and process signed webhook events.
Notifications - Slack Alerts
Oct 11, 2025
Set up simple Slack notifications for uploads and payments, wire them into Stripe webhooks and storage errors, and customize alerts with a tiny server helper.
Private File Uploads (S3 / R2)
Oct 07, 2025
A step‑by‑step, beginner‑friendly guide to adding user‑private uploads with S3‑compatible storage. Includes concepts, setup, env, API, UI, errors, and S3↔R2 migration.
Logging & Observability
Oct 11, 2025
Structured logging for Node, Edge and Workers with request IDs, redaction and per-route examples. Works on Vercel, Cloudflare and Node servers.
Email Service (Resend)
Sep 29, 2025
Integrate transactional email with Resend. Verify your domain, create API keys, render welcome and payment emails on the server, and send through Resend with environment-based configuration.
Accounts, Orders & Credits
Sep 29, 2025
Understand how users, orders, and the credits ledger work together in the Sushi SaaS template. Learn the balance formula, expiry handling, and the APIs/services to grant, consume, and inspect credits.
Credits-Based Tasks — Text to Video
Oct 11, 2025
Add usage-based monetization with a generic tasks table, a credit ledger, and a pluggable text-to-video generator. Learn the schema, APIs, config constants, and a minimal UI to ship paid AI features fast.
Reservations Feature — Availability, Deposits, Google Calendar
Sep 29, 2025
Enable a modular reservations feature with business-hours availability, Stripe Checkout deposits, webhook confirmation, ICS attachments, and Google Calendar links.