Enterprise AI Content Orchestration Platform
Transform any content into optimized formats across 15+ platforms using our neural AI network. Trusted by Fortune 500 companies and content creators worldwide.
- AI-Powered Content Generation - Transform any URL into multiple content formats
- Multi-Platform Support - Generate content for Twitter, LinkedIn, newsletters, video scripts, and more
- Enterprise Security - SOC 2 certified with 99.9% uptime guarantee
- Team Collaboration - Real-time workflows and approval systems
- Advanced Analytics - Track performance and optimize content strategy
- Subscription Management - Integrated billing with Stripe
- Admin Dashboard - Comprehensive analytics and promotional campaign management
- React 18 with Vite
- Tailwind CSS for styling
- shadcn/ui component library
- React Router for navigation
- Recharts for analytics visualization
- Node.js with Express
- Supabase for database and authentication
- OpenAI API for AI content generation
- Stripe for payment processing
- Row Level Security for data protection
- Vercel for hosting (frontend and API)
- Custom domain support
- SSL/TLS encryption
- CDN for global performance
- Node.js 18+
- npm or pnpm
- Supabase account
- OpenAI API key
- Stripe account
-
Clone the repository
git clone https://github.com/djtlb/contentflow.git cd contentflow -
Install dependencies
# Frontend pnpm install # Backend cd api npm install cd ..
-
Environment Setup
cp .env.example .env.local
Add your API keys:
VITE_SUPABASE_URL=your-supabase-url VITE_SUPABASE_ANON_KEY=your-supabase-anon-key SUPABASE_SERVICE_ROLE_KEY=your-service-role-key OPENAI_API_KEY=your-openai-api-key STRIPE_SECRET_KEY=your-stripe-secret-key VITE_STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key
-
Database Setup
- Run the SQL files in your Supabase project:
database/schema.sqldatabase/promotions_schema.sql
- Run the SQL files in your Supabase project:
-
Start Development
# Frontend (port 5173) pnpm run dev # Backend (port 3001) cd api npm run dev
-
Frontend Deployment
- Connect GitHub repository to Vercel
- Framework: React (Vite)
- Build command:
pnpm run build - Output directory:
dist
-
API Deployment
- Create separate Vercel project for
/apifolder - Framework: Node.js
- Build command:
npm install
- Create separate Vercel project for
-
Environment Variables
- Add all environment variables to Vercel dashboard
- Configure production URLs
- Purchase domain (recommended:
.ai,.co, or.io) - Configure DNS in Vercel
- SSL automatically enabled
- Starter: $29/month - 10 content pieces, 5 platforms
- Pro: $59/month - 30 content pieces, 15+ platforms, team features
- Month 1: $500 MRR
- Month 6: $1,200+ MRR
- Year 1: $5,000+ MRR
- Real-time revenue tracking
- User growth metrics
- Content generation statistics
- Subscription analytics
- Create viral marketing campaigns
- Track banner performance
- A/B testing capabilities
- Conversion optimization
- Customer support tools
- Subscription management
- Usage monitoring
- Security controls
- SOC 2 Compliance - Enterprise-grade security standards
- Row Level Security - Database-level access control
- API Rate Limiting - Prevent abuse and ensure stability
- Encryption - All data encrypted in transit and at rest
- Authentication - Secure user authentication with Supabase
- Product Hunt submission
- Social media campaigns
- Content marketing and SEO
- Email outreach to potential customers
- Referral program for growth
- Free trial to reduce friction
- Promotional campaigns for conversion
- Customer success stories for credibility
- Feature announcements for retention
content_submissions: Stores processed content and generated outputsuser_subscriptions: Manages user subscription plans and billingpromotions: Admin promotional campaigns and bannersauth.users: Supabase authentication (built-in)
- Row Level Security for data isolation
- Automatic subscription creation for new users
- Usage tracking and analytics
- Content history and metadata
- Promotional campaign management
All API endpoints require Bearer token authentication except webhooks.
POST /api/content/process- Process content from URLGET /api/content/history- Get user's content historyGET /api/content/usage/stats- Get usage statistics
POST /api/payments/create-checkout-session- Create Stripe checkoutGET /api/payments/subscription- Get subscription detailsPOST /api/payments/create-portal-session- Billing portal access
GET /api/admin/analytics- Platform analytics (admin only)POST /api/admin/promos- Create promotional campaignsGET /api/admin/promos- List promotional campaigns
# Run frontend tests
pnpm run test
# Run backend tests
cd api
npm run test
# Build for production
pnpm run build- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Complete deployment guide included
- Issues: Create GitHub issues for bugs or feature requests
- Community: Join our growing community of content creators
- Core AI content generation
- Subscription management
- Admin dashboard
- Promotional campaigns
- Advanced AI models (GPT-4 Turbo, Claude 3)
- Team collaboration features
- White-label solutions
- API marketplace
- Custom integrations
- Mobile app
- Advanced analytics
Built for content creators, by content creators
Transform your content strategy with AI. Start building your passive income stream today!