How starq-technologies-pvt-ltd/hoadhaa works
Hoadhaa is a unified commerce platform for discovering reachable goods and services across Maldivian islands, then engaging with storefronts, sourcing/RFQ, messages, orders and commercial memory. Its main user flow starts in the client application: search requirements are resolved into possibilities and catalog results, then presented through storefront and spatial views. The repository also documents a commercial domain kernel, graph/search infrastructure and a separate web command center. Some pipeline and command-center wiring is unsampled, so those links are omitted where evidence is absent.
Main entry points: App.tsx Hoadhaa app · storefront_projection_adapter.ts Storefront projection · supabase Commercial graph · UniversalSearchModal.tsx Universal search
Components 30
Commerce client
- Hoadhaa app
src/App.tsx - Universal search
src/components/UniversalSearchModal.tsx - Possibility resolver
src/data/commercialPossibilityResolver.ts - Storefront shell
src/components/storefront/BusinessStorefrontShell.tsx - Outlet map
src/components/storefront/BusinessOutletsMapSurface.tsx - Search results
src/components/storefront/SearchResultsSections.tsx - Product discovery
src/components/storefront/ProductDiscoverySurface.tsx - Living feed
src/views/LivingFeedView.tsx - Services
src/views/ServicesView.tsx - Sourcing RFQ
src/views/SourcingRfqView.tsx - Messages RFQ
src/views/MessagesRfqView.tsx - Orders and movement
src/views/OrdersMovementView.tsx - Commercial memory
src/views/CommercialMemoryView.tsx
Commercial kernel
- Catalog discovery
commercial-core/adapters/catalog_discovery_adapter.ts - Possibility engine
commercial-core/possibility/possibility_engine.ts - Storefront projection
commercial-core/adapters/storefront_projection_adapter.ts - Business registry
commercial-core/model/business_brand.ts - Slug resolution
commercial-core/resolve/slug_resolver.ts - Publication gate
commercial-core/publication/publication_gate.ts - Spatial publication
commercial-core/publication/spatial_publication_policy.ts - Commercial primitives
commercial-core/model/primitives.ts - Commitment algebra
commercial-core/transaction/dca_engine.ts - State transitions
commercial-core/transitions/cdst_topology.ts
Discovery infrastructure
- Discovery pipeline
infrastructure/pipeline - Search function
infrastructure/supabase/functions/search/handler.ts - Map tiles
infrastructure/supabase/functions/map-tiles/index.ts - Commercial graph
infrastructure/supabase
Command center
- Command center
web-command-center/src/routes/cockpit.tsx
Other components
- Shopper
- Private ERP/POS
Connections 32
- Shopper → Hoadhaa app: uses
README.md - Hoadhaa app → Universal search: opens
src/App.tsx - Hoadhaa app → Storefront shell: renders
src/App.tsx - Hoadhaa app → Living feed: presents
src/App.tsx - Hoadhaa app → Services: presents
src/App.tsx - Hoadhaa app → Sourcing RFQ: presents
README.md - Hoadhaa app → Messages RFQ: presents
src/App.tsx - Hoadhaa app → Orders and movement: presents
README.md - Hoadhaa app → Commercial memory: presents
README.md - Universal search → Possibility resolver: resolves query
src/components/UniversalSearchModal.tsx - Universal search → Catalog discovery: discovers catalog
src/components/UniversalSearchModal.tsx - Universal search → Search results: renders results
src/components/UniversalSearchModal.tsx - Possibility resolver → Commercial primitives: evaluates
- Possibility resolver → Commercial graph: reads corpus
- Catalog discovery → Storefront projection: projects storefronts
commercial-core/adapters/catalog_discovery_adapter.ts - Catalog discovery → Publication gate: gates availability
commercial-core/adapters/catalog_discovery_adapter.ts - Storefront shell → Storefront projection: displays projection
architecture/proofs/graph_identity_architectural_proof.ts - Storefront shell → Outlet map: renders map
src/components/storefront/BusinessStorefrontShell.tsx - Storefront shell → Product discovery: shows products
README.md - Storefront projection → Business registry: reads brands
commercial-core/adapters/storefront_projection_adapter.ts - Storefront projection → Slug resolution: validates slugs
commercial-core/adapters/storefront_projection_adapter.ts - Storefront projection → Spatial publication: filters locations
commercial-core/adapters/storefront_projection_adapter.ts - Slug resolution → Business registry: resolves aliases
commercial-core/resolve/slug_resolver.ts - Publication gate → Private ERP/POS: redacts telemetry
README.md - Publication gate → Shopper: publishes safe facts
README.md - Spatial publication → Publication gate: applies policy
commercial-core/publication/spatial_publication_policy.ts - Discovery pipeline → Commercial graph: ingests discoveries
- Search function → Commercial graph: queries graph
- Map tiles → Commercial graph: serves spatial data
- Commercial primitives → Commitment algebra: defines commitments
commercial-core/transaction/dca_engine.ts - Commercial primitives → State transitions: defines states
commercial-core/transitions/cdst_topology.ts - Command center → Commercial graph: operates platform