Better SaaS
中文版 README | English
A modern, full-stack SaaS application built with Next.js 15, featuring authentication, payments, file management, and internationalization with comprehensive testing suite.
🚀 Features
- 🔐 Authentication: Email/password and social login (GitHub, Google) with Better Auth
- 💳 Payments: Stripe integration with subscription management and billing dashboard
- 🪙 Credits System: Flexible quota management for API usage and storage with automated billing
- 📁 File Management: Upload, preview, and manage files with AWS S3/R2 storage
- 🌍 Internationalization: Multi-language support (English/Chinese) with next-intl
- 📱 Responsive Design: Modern UI with Radix UI and Tailwind CSS v4
- 📖 Documentation: Built-in documentation system with Fumadocs
- 🔒 Protected Routes: Role-based access control and route protection
- 👥 Admin Dashboard: User management and system administration
- ⚡ Performance: Optimized with Next.js 15 App Router and Turbo mode
- 🧪 Testing: Comprehensive testing suite with Jest, Playwright, and integration tests
🛠️ Tech Stack
Frontend
- Framework: Next.js 15 (App Router)
- UI Components: Radix UI + Tailwind CSS
- State Management: Zustand
- Data Fetching: SWR
- Styling: Tailwind CSS v4
- Icons: Lucide React