How devhamzz/boycode-africa-tool-call-demo works
GenZpt AI is a DeepSeek-powered chat app with a React dashboard and an Express-compatible API. The user-facing workflow is to enter through the dashboard, open chat, and receive an AI response; the documented product also includes login, activity, settings, search, memory, and uploads. The UI routes and shared providers are visible in excerpts. Backend route-to-service relationships follow README-documented capabilities; unsampled call wiring is not asserted.
Main entry points: App.tsx App Router · Layout.tsx Dashboard Layout · Dashboard.tsx Dashboard · Chat.tsx Chat Page
Components 24
Dashboard UI
- App Router
frontend/src/App.tsx - Dashboard Layout
frontend/src/components/Layout.tsx - Dashboard
frontend/src/pages/Dashboard.tsx - Chat Page
frontend/src/pages/Chat.tsx - Activity Page
frontend/src/pages/Activity.tsx - Login Page
frontend/src/pages/Login.tsx - Settings Page
frontend/src/pages/Settings.tsx - Theme Switcher
frontend/src/components/ThemeSwitcher.tsx - Animated Background
frontend/src/components/DevHamzBg.tsx - Brand Logo
frontend/src/components/Logo.tsx - Page Transition
frontend/src/components/PageTransition.tsx
Shared UI State
- Chat State
frontend/src/context/ChatContext.tsx - Theme State
frontend/src/context/ThemeContext.tsx
API Capabilities
- Login API
api/auth/login.ts - Chat API
api/chat.ts - Health API
api/health.ts - Memory API
api/memory.ts - Search API
api/search.ts - Upload API
api/upload.ts
External Services
- DeepSeek
- Supabase
lib/supabase.ts - Supabase Storage
- Web Search API
Other components
- User
Connections 20
- User → App Router: opens
frontend/src/App.tsx - App Router → Dashboard Layout: routes through
frontend/src/App.tsx - App Router → Dashboard: routes to
frontend/src/App.tsx - App Router → Chat Page: routes to
frontend/src/App.tsx - App Router → Activity Page: routes to
frontend/src/App.tsx - App Router → Settings Page: routes to
frontend/src/App.tsx - App Router → Login Page: routes to
frontend/src/App.tsx - Dashboard Layout → Theme Switcher: renders
frontend/src/components/Layout.tsx - Dashboard Layout → Animated Background: renders
frontend/src/components/Layout.tsx - Dashboard Layout → Brand Logo: renders
frontend/src/components/Layout.tsx - Theme Switcher → Theme State: updates
frontend/src/components/ThemeSwitcher.tsx - Dashboard → Chat State: reads
frontend/src/pages/Dashboard.tsx - Chat Page → Chat State: uses
- Dashboard → Page Transition: renders
frontend/src/pages/Dashboard.tsx - Chat Page → Chat API: submits prompts
- Chat API → DeepSeek: requests reasoning
README.md - Login API → Supabase: authenticates
README.md - Memory API → Supabase: stores memory
README.md - Upload API → Supabase Storage: stores files
README.md - Search API → Web Search API: searches web
README.md