Skip to content

Data And Request Flows

Public Summary

The platform has three critical flows:

  • User request flow (client to API and routing).
  • Data ingestion flow (scrapers into MongoDB).
  • Search enrichment flow (embeddings and smart search).

Internal Details

User Request Flow

Scraper Ingestion Flow

Search Flow

Source Anchors

PathRelevance
apps/server/src/modules/scraper/scraper.cron.jsCron trigger for ingestion flow
apps/server/src/modules/scraper/scraper.service.jsScraper orchestration
apps/server/src/modules/search/search.service.jsHybrid search (vector + keyword + RRF)
apps/server/src/modules/search/smart-search.service.jsRecipe and budget-aware search
apps/client/src/features/map/pages/MapPage.jsxUser-facing search and routing UI

Risks and Trade-offs

  • Scraper reliability depends on external HTML structure stability.
  • Embedding generation depends on third-party API availability and quota.
  • Search quality and performance are coupled to embedding freshness.

Student Obrok engineering documentation.