How vickyilovemymother/vp-ai works
VP-AI is a fashion creation and virtual try-on application. Users enter the React app to work with garment designs, generate AI imagery, and try outfits on; account, pricing, and setup flows support that experience. The app also includes video generation and image-reconstruction capabilities. Its browser services use Firebase for authentication and Firestore data, while an Express server exposes Gemini AI routes. Source excerpts show the main UI and several service relationships, but not all component internals or all API routing details.
Main entry points: App.tsx Fashion workspace · geminiService.ts AI client service · videoService.ts Video creation · AuthModal.tsx Sign-in UI
Components 17
Creation experience
- Fashion workspace
src/App.tsx - Garment designer
src/components/DesignerPanel.tsx - Virtual try-on
src/components/VirtualTryOn.tsx - Video creation
src/services/videoService.ts - 3D reconstruction
src/services/reconstructionService.ts - Setup guide
src/components/SetupGuide.tsx
Accounts and plans
- Sign-in UI
src/components/AuthModal.tsx - Auth state
src/context/AuthContext.tsx - Auth service
src/services/authService.ts - Pricing UI
src/components/PricingModal.tsx
AI generation
- AI client service
src/services/geminiService.ts - Gemini API routes
server/gemini.ts - Google Gemini
Application platform
- Firebase client
src/lib/firebase.ts - Firestore
- Express API
server.ts
Other components
- Creator
Connections 18
- Creator → Fashion workspace: uses
- Fashion workspace → Garment designer: renders
src/App.tsx - Fashion workspace → Virtual try-on: renders
src/App.tsx - Fashion workspace → Setup guide: renders
src/App.tsx - Fashion workspace → Pricing UI: renders
src/App.tsx - Fashion workspace → Sign-in UI: renders
src/App.tsx - Fashion workspace → AI client service: generates images
src/App.tsx - Fashion workspace → Firestore: reads and writes
src/App.tsx - Fashion workspace → Video creation: uses
src/App.tsx - Sign-in UI → Auth state: uses
src/components/AuthModal.tsx - Auth state → Auth service: delegates
src/context/AuthContext.tsx - Auth service → Firebase client: authenticates and syncs
src/services/authService.ts - Firebase client → Firestore: initializes
src/lib/firebase.ts - Video creation → AI client service: requests analysis
src/services/videoService.ts - AI client service → Express API: sends AI requests
- Express API → Gemini API routes: mounts routes
server.ts - Gemini API routes → Google Gemini: calls
server/gemini.ts - Fashion workspace → 3D reconstruction: uses