How ophireumtechnology/ompnetwork works
Ophireum is a digital-services business site with an AI consultant and a client portal for authentication, shopping, payments, projects, and account support. Visitors explore services and can start a consultation; portal users authenticate and use client and commerce features backed by an API and repositories. The graph preserves the major public-site and portal areas shown in the tree. Some page and server behavior is unsampled, so edges are limited to relationships indicated by excerpts or the source index.
Main entry points: app.ts API Application · App.tsx Site App · AIConsultantWidget.tsx AI Consultant · ClientPortalApp.tsx Portal App
Components 29
Public Website
- Site App
src/App.tsx - Services Catalog
src/components/ServicesSection.tsx - Service Catalog Data
src/data/serviceCatalog.ts - Service Views
src/components/services/ServiceCard.tsx - Service Icons
src/components/animations/ServiceTechIcon.tsx - Portfolio
src/components/PortfolioSection.tsx - Enterprise Suite
src/components/EnterpriseSuiteSection.tsx - Brand Assets
src/data/brandAssets.ts
Consultation
- AI Consultant
src/components/consultant/AIConsultantWidget.tsx - Consultant Services
src/services/aiConsultantService.ts - AI Voice
src/services/aiVoiceService.ts - Appointment Booking
src/components/consultant/AppointmentBookingModal.tsx - Project Brief
src/components/consultant/ProjectBriefModal.tsx
Client Portal
- Portal App
src/portal/ClientPortalApp.tsx - Portal Router
src/portal/PortalRouter.tsx - Portal Authentication
src/portal/PortalAuthContext.tsx - Portal Pages
src/portal/pages - Portal API Client
src/portal/portalApi.ts
API Backend
- API URL Client
src/lib/apiClient.ts - API Application
src/server/app.ts - Portal Routes
src/server/portal/portalRoutes.ts - Request Validation
src/server/validation.ts - Calendar Service
src/server/services/calendarService.ts - Email Service
src/server/services/emailService.ts - Payment Adapters
src/server/portal/payments/paymentAdapters.ts
Persistence
- Core Repository
src/server/db/supabaseRepository.ts - Local Portal Repository
src/server/portal/localPortalRepository.ts - Supabase Portal Repository
src/server/portal/supabasePortalRepository.ts
Other components
- Visitor
Connections 27
- Visitor → Site App: opens
- Site App → Services Catalog: renders
src/App.tsx - Site App → Portfolio: renders
src/App.tsx - Site App → Enterprise Suite: renders
src/App.tsx - Site App → AI Consultant: renders
src/App.tsx - Services Catalog → Service Catalog Data: reads
src/components/ServicesSection.tsx - Services Catalog → Service Views: renders
src/components/ServicesSection.tsx - Service Views → Service Icons: renders
src/components/services/ServiceCard.tsx - AI Consultant → Consultant Services: calls
src/components/consultant/AIConsultantWidget.tsx - AI Consultant → AI Voice: calls
src/components/consultant/AIConsultantWidget.tsx - AI Consultant → Appointment Booking: opens
src/components/consultant/AIConsultantWidget.tsx - AI Consultant → Project Brief: opens
src/components/consultant/AIConsultantWidget.tsx - Site App → Portal App: routes to
src/App.tsx - Portal App → Portal Router: uses
src/portal/ClientPortalApp.tsx - Portal App → Portal Authentication: provides
src/portal/ClientPortalApp.tsx - Portal App → Portal Pages: renders
src/portal/ClientPortalApp.tsx - Portal Authentication → Portal API Client: requests
src/portal/PortalAuthContext.tsx - Portal API Client → API URL Client: builds API URLs
- API Application → Portal Routes: registers
src/server/app.ts - API Application → Request Validation: validates
src/server/app.ts - API Application → Core Repository: uses
src/server/app.ts - API Application → Calendar Service: uses
src/server/app.ts - API Application → Email Service: uses
src/server/app.ts - Portal Routes → Payment Adapters: calls
src/server/portal/portalRoutes.ts - API Application → Local Portal Repository: uses
src/server/app.ts - API Application → Supabase Portal Repository: uses
src/server/app.ts - Supabase Portal Repository → Local Portal Repository: delegates
src/server/portal/supabasePortalRepository.ts