该介绍目前仅提供英文版本。
CMSaasStarter: Complete SaaS Boilerplate
CMSaasStarter is a comprehensive, feature-rich SaaS template built with modern web technologies. It provides everything you need to launch a SaaS product quickly, from marketing pages to user authentication, subscription management, and a complete admin dashboard.
Core Features
- Complete Authentication System: User signup, login, password reset, email verification, and OAuth integration via Supabase Auth
- Marketing Infrastructure: Pre-built landing page, blog engine with rich formatting, SEO optimization, and sitemap generation
- Subscription Management: Stripe integration for payment processing, subscription tiers, and a self-service billing portal
- User Dashboard: Profile management, account settings, subscription management, and customizable admin views
- Performance Optimized: Pre-rendered pages scoring 100/100 on Google PageSpeed, with CDN optimization and edge functions
- Developer Experience: Comprehensive tooling with linting, formatting, and CI/CD integration
- Responsive Design: Mobile-first approach with a clean, modern UI using Tailwind and DaisyUI
- Search Functionality: Built-in site search without requiring a backend service
Technical Architecture
CMSaasStarter leverages a powerful, modern tech stack:
- Frontend: SvelteKit for lightning-fast rendering and seamless user experience
- Styling: TailwindCSS with DaisyUI components for rapid UI development
- Backend: Supabase for authentication and database, with Cloudflare Workers for serverless functions
- Payments: Stripe Checkout and Customer Portal for subscription management
- Hosting: Optimized for Cloudflare Pages, with alternative deployment options for Vercel and others
Deployment Options
The template is designed to be deployed on a free-tier stack, making it perfect for startups and side projects:
-
Free Tier: Supabase free tier + Cloudflare free tier
- Supports thousands of users with unlimited static page requests
- 100k serverless function invocations per day
- Auto-pauses database after 7 days of inactivity
-
Production Tier: Supabase Pro + Cloudflare Workers Paid ($30/mo)
- Database backups and continuous availability
- Over 1M serverless functions per day
- Linear pricing for additional usage
Getting Started
Deploying your SaaS application with CMSaasStarter is straightforward:
- Create your project: Fork or use the template to create your own repository
- Set up Supabase: Create a Supabase project and configure authentication
- Configure Stripe: Set up products, prices, and subscription tiers
- Deploy: Push to Cloudflare Pages or Vercel with environment variables
- Customize: Add your branding, content, and SaaS-specific functionality
Extensibility
CMSaasStarter is designed to be extended with your own functionality:
- Add custom pages and components to the marketing site
- Extend the user dashboard with application-specific features
- Create additional API endpoints for your business logic
- Customize the database schema for your application’s needs
- Integrate with third-party services via the API
The community is actively extending the template with additional features like internationalization and alternative UI frameworks.
Performance
One of the standout features of CMSaasStarter is its exceptional performance. The template achieves perfect Google PageSpeed scores through:
- Pre-rendering of marketing pages and blog content
- Hybrid rendering approach combining SSR and CSR for optimal performance
- CDN optimization for high cache hit ratios
- Edge functions for dynamic content
- Svelte and Tailwind’s tree-shaking to minimize bundle sizes
This performance-first approach ensures your SaaS application provides an excellent user experience from day one, without requiring performance optimization work.