A gamified, conversion-driven learning platform with strategic subscribe-gates and customizable rewards.
- 5-Set Question Journey: 15 total questions across progressive difficulty levels
- Strategic Subscribe Gates: Modal prompts after each 3-question set
- Rewards System: Unlock PDFs, feature unlocks, tool trials, and discounts
- Admin Dashboard: Full CRUD for App Promo, Questions, and Rewards
- Demo Mode: Pre-seeded example app with complete content
- Supabase Backend: Real-time auth, database, and progress tracking
- Node.js 18+ and npm
- Supabase account (free tier works)
- Clone and install dependencies:
npm install-
Set up Supabase:
- Create a new project at supabase.com
- Go to Project Settings > API to get your URL and anon key
- Run the schema: Copy contents of
supabase/schema.sqlinto SQL Editor - Run the seed data: Copy contents of
supabase/seed.sqlinto SQL Editor
-
Configure environment:
cp .env.example .envEdit .env with your Supabase credentials:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_anon_key
VITE_DEMO_MODE=true
- Run locally:
npm run devVisit http://localhost:5173
npm run build- Push to GitHub
- Import project in Vercel
- Add environment variables in Vercel dashboard
- Deploy!
Demo mode is enabled by default and includes:
- Demo App: SmartBrand Builder (fictional SaaS)
- 15 Questions: 5 sets covering brand & marketing fundamentals
- 5 Rewards: PDF, feature unlock, tool access, discount, trial
Toggle demo mode in .env:
VITE_DEMO_MODE=true # or false
Access the admin panel at /admin:
- App Promo Editor: Configure app name, tagline, benefits, checkout URL
- Question Builder: Create/edit 5 sets of 3 questions each
- Rewards Editor: Set up rewards with unlock conditions
Supports:
- Email/password authentication
- Google OAuth
- Demo mode (no auth required)
Key tables:
users: User accounts and subscription tiersapp_profiles: Owner app configurationloops: Question loop definitionsquestions: 15 questions (5 sets × 3)rewards: Unlockable rewardsprogress: User progress trackingtransactions: Subscription transactions
Edit in .env:
VITE_BRAND_PRIMARY=#722f37
VITE_BRAND_SECONDARY=#8b3a62
VITE_BRAND_ACCENT=#d4af37
After each 3-question set:
- Modal appears: "Unlock Free Features in {app_name}?"
- YES → Redirects to
checkout_urlor internal checkout - NO → Continues to next set
©2025 Bobbie Gray. BoDiGi™, Aura™, and Boltz™ are trademarks of Bobbie Digital™.
Built with Famous.AI
For issues or questions, please open a GitHub issue.