Stack & Architecture
FastSaaS is a production-ready SaaS template built with FastAPI (backend) and React (frontend). It provides a complete foundation for building multi-tenant SaaS applications with subscription billing,
Last updated
FastSaaS is a production-ready SaaS template built with FastAPI (backend) and React (frontend). It provides a complete foundation for building multi-tenant SaaS applications with subscription billing,
Last updated
app/
├── main.py # FastAPI application entry point
├── settings.py # Environment configuration
├── db.py # Database connection and session management
├── initial_data.py # Database seeding
├── api/ # API endpoints organized by domain
│ ├── auth/ # Authentication endpoints
│ ├── tenants/ # Multi-tenant management
│ ├── payments/ # Stripe integration
│ ├── items/ # Example CRUD resource
│ └── super_admin/ # Super admin features
├── adapters/ # External service integrations
│ ├── email/ # Email providers (Resend, Fake)
│ └── payment/ # Payment providers (Stripe, Fake)
├── models/ # SQLAlchemy database models
├── utils/ # Authentication and authorization utilities
└── tests/ # Test suitefrontend/src/
├── features/ # Feature modules
│ ├── authentication/
│ ├── subscription/
│ ├── tenants/
│ ├── members/
│ ├── items/
│ ├── settings/
│ └── admin/
├── shared/ # Shared components and contexts
├── types/ # TypeScript type definitions
└── utils/ # Utility functions