Skip to content

FastSvelte

FastSvelte is a fullstack SaaS starter kit built with FastAPI (Python) and SvelteKit (TypeScript).

The key features are:

Fast to start: Complete authentication, multi-tenancy, and payment integration out of the box.
Type-safe: Auto-generated TypeScript client from backend OpenAPI specification.
Multi-tenant: Organization-based user management with role-based permissions.
Production-ready: Session-based auth, database migrations, containerized deployment.
Developer-friendly: Dependency injection, repository pattern, comprehensive testing setup.

Technology Stack

  • Backend: FastAPI with PostgreSQL and Sqitch migrations
  • Frontend: SvelteKit with TypeScript and TailwindCSS
  • Authentication: Session-based with HTTP-only cookies
  • Payments: Stripe integration with webhook handling
  • Deployment: Docker containers

What's Included

Four main components: - Backend API - FastAPI application with authentication, multi-tenancy, and payments - Frontend Dashboard - SvelteKit admin interface with user management - Landing Page - Marketing site template - Database Schema - PostgreSQL schema with migration system

Getting Started

  1. Getting Started - Set up your development environment
  2. Architecture Overview - Understand the system design
  3. Integrations - Configure external services