Overview
I built an AI-driven platform providing expert strategic guidance for small and medium businesses. ThoughtPartnr combines a modern Svelte frontend with a robust Node.js backend to deliver personalized business advice powered by OpenAI, with Stripe-managed subscriptions for monetization.
The Challenge
Small businesses lack access to expensive strategic consultants. The platform needed to:
- Deliver personalized, actionable business guidance — not generic chatbot responses
- Understand business context across conversations for relevant recommendations
- Handle subscription management and payment processing reliably
- Provide an accessible, polished experience that builds trust with business owners
What I Built
1. AI Advisory Engine
An OpenAI-powered analysis system tailored to each business's context:
- Context-aware conversations that remember business details across sessions
- Industry-specific guidance based on business type and stage
- Structured output with clear, actionable recommendations
2. Smart Insights Platform
Beyond chat — a strategic planning companion:
- Growth strategy recommendations based on business data
- Actionable next steps with priority ordering
- Progress tracking across advisory sessions
3. Payment Integration
Complete monetization infrastructure:
- Stripe subscription management with multiple plan tiers
- Webhook handling for payment events and lifecycle management
- Usage-based feature gating tied to subscription level
Technical Architecture
A clean, production-grade stack with TypeScript throughout:
- Frontend: Svelte for reactive, component-based UI with fast rendering
- Backend: Node.js API server handling AI orchestration and business logic
- Database: Firebase Firestore for user data, business profiles, and conversation history
- Auth: Firebase Authentication for secure user management
- AI: OpenAI API for strategic analysis and advisory responses
- Payments: Stripe for subscription billing and payment processing
Security & Quality
Business data requires trust and reliability:
- Firebase Authentication — Secure user identity management with industry-standard auth flows
- Stripe payment processing — PCI-compliant payment handling with no card data touching our servers
- TypeScript type safety — End-to-end type checking to prevent runtime errors
- Data isolation — Per-user data boundaries in Firestore security rules
Outcome
- Live and operational at thoughtpartnr.com
- Contracted and delivered as client work with full handoff
- Complete subscription management with Stripe integration
- AI advisory engine providing personalized business guidance