A modern, feature-rich crowdfunding platform built with React, TypeScript, and Supabase.
This project follows a modular architecture for better maintainability and token efficiency:
src/
├── modules/
│ ├── auth/ # Authentication & user management
│ ├── funds/ # Campaign/fund management
│ ├── wallet/ # Financial transactions
│ ├── referrals/ # Referral system & earnings
│ ├── ai/ # AI-powered features
│ ├── settings/ # User preferences
│ └── core/ # Shared components & utilities
├── lib/ # Shared libraries (Supabase, Stripe, etc.)
└── components/ # Legacy shared components (being migrated)
- User authentication (sign up, sign in, password reset)
- Profile management
- Password strength validation
- Session handling
- Campaign creation and management
- Fund discovery and browsing
- Donation processing
- Campaign analytics
- Digital wallet functionality
- Add funds via Stripe
- Withdraw funds
- Transaction history
- Referral code generation
- Earnings tracking
- Fee distribution system
- Campaign referral attribution
- AI-powered campaign content generation
- Campaign optimization suggestions
- Smart categorization
- Account preferences
- Notification settings
- Security settings
- Appearance customization
- Shared UI components
- Layout components
- Common pages (Home, About, etc.)
- Utility functions
- Modern UI/UX: Beautiful, responsive design with Tailwind CSS
- Real-time Updates: Live campaign progress and notifications
- Secure Payments: Stripe integration for secure transactions
- AI-Powered: Smart campaign content generation
- Referral System: Earn rewards for bringing new users
- Mobile-First: Optimized for all device sizes
- Type-Safe: Full TypeScript implementation
- Frontend: React 18, TypeScript, Tailwind CSS
- Backend: Supabase (PostgreSQL, Auth, Real-time)
- Payments: Stripe
- AI: Google Gemini, OpenRouter
- Deployment: Netlify
- Icons: Lucide React
- Home: Landing page with featured campaigns
- Explore: Browse all active campaigns
- Create Fund: AI-assisted campaign creation
- My Funds: Manage your campaigns
- Wallet: Financial dashboard
- Referrals: Earnings and referral management
- Settings: Account and preferences
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
- Token Efficiency: Work on specific features without loading entire codebase
- Maintainability: Clear separation of concerns
- Scalability: Easy to add new features as modules
- Team Collaboration: Multiple developers can work on different modules
- Code Reusability: Modules can be reused across projects
- Testing: Easier to test individual modules
MIT License - see LICENSE file for details.