An open-source Cloudflare-native framework for running a fleet of new-keyword AI sites, with shared auth, credits, payments and AI generation.
fireact-dev/main
Open-source SaaS starter built on React, TypeScript, Firebase and Stripe, covering auth, billing, teams and i18n.
- Stars
- 560
- Forks
- 181
- Open issues
- 0
- Last commit
- 2 months ago
What is it?
fireact.dev is a foundation for building production-style SaaS applications. It pairs a React and TypeScript frontend with Firebase Authentication, Firestore and Cloud Functions on the backend, and uses Stripe for payment processing. The goal is to skip the initial setup of login, subscriptions and team management so a product can start from working code.
The framework includes sign-up, sign-in and password reset, user profile management, role-based access control, and team invitations with permissions. On the billing side it supports multiple subscription plans, Stripe-hosted billing portal and invoices, payment method management, and plan upgrades and downgrades. A `create-fireact-app` CLI scaffolds a new project and walks through Firebase and Stripe configuration.
The project also ships a Claude Code skill (`/fireact-builder`) with playbooks for adding pages, components, navigation and Cloud Functions through natural language. Local development uses the Firebase emulators, and the repository includes deployment instructions for Firebase Hosting, Functions and GitHub Actions.
Key features
- 01Sign-up, sign-in, password reset and user profile management
- 02Role-based access control and team invitations with permissions
- 03Multiple subscription plans with Stripe billing portal and invoices
- 04Plan upgrades and downgrades plus payment method management
- 05Claude Code skill for adding pages, components and Cloud Functions
- 06Firebase emulator support for local development
Use cases
- Launching a subscription-based SaaS product on Firebase without building auth and billing from scratch
- Adding team collaboration with member invitations and roles to a web app
- Prototyping a paid web product with Stripe test mode and local emulators
Quick start
- 1
Install the create-fireact-app CLI globally
npm install -g create-fireact-app - 2
Create a new project with the CLI
create-fireact-app <your-project-name> - 3
Follow the CLI prompts to select your Firebase project and configure Stripe
- 4
Build the app and functions, then start the Firebase emulators
npm run build && cd functions && npm run build && cd .. && firebase emulators:start
Things to know
- Depends on Firebase and Stripe accounts and configuration to run fully.
- Requires manual updates to production config and Stripe keys before deploying.
In collections
Topics
FAQ
- What is main?
- Open-source SaaS starter built on React, TypeScript, Firebase and Stripe, covering auth, billing, teams and i18n. fireact.dev is a foundation for building production-style SaaS applications. It pairs a React and TypeScript frontend with Firebase Authentication, Firestore and Cloud Functions on the backend, and uses Stripe for payment processing. The goal is to skip the initial setup of login, subscriptions and team management so a product can start from working code.
- Is main free to use? What license does it have?
- main is open source under the MIT license. Check the license terms before using it in commercial products.
- Is main still maintained?
- Updated within 6 months. The last commit to main was on Sep 11, 2026.
- What can I use main for?
- Launching a subscription-based SaaS product on Firebase without building auth and billing from scratch Adding team collaboration with member invitations and roles to a web app Prototyping a paid web product with Stripe test mode and local emulators
- How do I install main?
- Install the create-fireact-app CLI globally: npm install -g create-fireact-app Create a new project with the CLI: create-fireact-app <your-project-name> Follow the CLI prompts to select your Firebase project and configure Stripe Build the app and functions, then start the Firebase emulators: npm run build && cd functions && npm run build && cd .. && firebase emulators:start
- Where can I get main?
- The source code and installation instructions are on GitHub: https://github.com/fireact-dev/main
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An open-source, modular Next.js SaaS starter with auth, organizations, Stripe billing, an admin panel, docs, blog and changelog, each toggleable.
Open-source Next.js SaaS starter with Clerk auth, multi-tenancy, RBAC, i18n, Drizzle ORM and Tailwind CSS.
A free, MIT-licensed full-stack SaaS starter built on React, Node.js, Prisma and the Wasp framework, with auth, payments and email included.
Open-source usage-based, credit-based and hybrid billing infrastructure with real-time metering, cloud or self-hosted.
Angular bindings for the Firebase JS SDK, providing dependency injection, RxJS observables and Angular-friendly APIs for Firebase services.