How ishitasem/planzypop-ai works
PlanzyPop AI is an event-planning app: users manage celebrations in the React interface, request a generated plan or event-specific advice, and receive structured results with curated fallback when Gemini is unavailable. The frontend also offers budget, task, vendor, inspiration, and settings areas; its event data is stored in browser localStorage. The backend exposes health, plan, and chat endpoints and delegates planning and chat generation to a Gemini service. The graph follows documented capabilities and shown calls; unsampled frontend details are grouped rather than inferred.
Main entry points: App.tsx Planning workspace · api.ts Typed API client · gemini_service.py Plan and chat generation · main.py FastAPI application
Components 19
Planning interface
- Planning workspace
frontend/src/App.tsx - Browser storage
- Typed API client
frontend/src/services/api.ts - Health status
frontend/src/App.tsx - Event management
frontend/src/App.tsx - Budget planning
frontend/src/App.tsx - Task tracking
frontend/src/App.tsx - Vendor management
frontend/src/App.tsx - Inspiration
frontend/src/App.tsx - Settings
frontend/src/App.tsx
Backend API
- FastAPI application
backend/app/main.py - Health endpoint
backend/app/routes/health.py - Plan endpoint
backend/app/routes/planner.py - Chat endpoint
backend/app/routes/chat.py - Request validation
backend/app/schemas/planner.py
Planning services
- Plan and chat generation
backend/app/services/gemini_service.py
Runtime configuration
- Environment settings
backend/app/core/config.py
Other components
- Event planner
- Google Gemini
Connections 25
- Event planner → Planning workspace: uses
README.md - Planning workspace → Event management: manages
frontend/src/App.tsx - Planning workspace → Budget planning: plans
README.md - Planning workspace → Task tracking: tracks
README.md - Planning workspace → Vendor management: manages
README.md - Planning workspace → Inspiration: browses
README.md - Planning workspace → Settings: configures
README.md - Planning workspace → Browser storage: reads and writes
frontend/src/App.tsx - Planning workspace → Typed API client: calls
frontend/src/App.tsx - Typed API client → FastAPI application: sends HTTP requests
frontend/src/services/api.ts - FastAPI application → Health endpoint: registers
backend/app/main.py - FastAPI application → Plan endpoint: registers
backend/app/main.py - FastAPI application → Chat endpoint: registers
backend/app/main.py - Typed API client → Health endpoint: requests health
frontend/src/services/api.ts - Typed API client → Plan endpoint: requests plans
frontend/src/services/api.ts - Typed API client → Chat endpoint: requests advice
frontend/src/services/api.ts - Health endpoint → Environment settings: reads settings
backend/app/routes/health.py - Health endpoint → Request validation: returns health schema
backend/app/routes/health.py - Plan endpoint → Request validation: validates requests
backend/app/routes/planner.py - Plan endpoint → Plan and chat generation: generates plan
backend/app/routes/planner.py - Chat endpoint → Request validation: validates requests
backend/app/routes/chat.py - Chat endpoint → Plan and chat generation: generates advice
backend/app/routes/chat.py - Plan and chat generation → Request validation: builds responses
backend/app/services/gemini_service.py - Plan and chat generation → Environment settings: reads credentials
backend/app/services/gemini_service.py - Plan and chat generation → Google Gemini: generates content
backend/app/services/gemini_service.py