Architecture · modules · workflows — the canonical user manual for AlmondsIndia
Explore every module, see who uses what, and walk through the full buyer / vendor / admin journeys. Stuck? Open the chat bubble on the right — it's wired to the same knowledge base you're reading here.
┌──────────────────────────────────────────────┐
│ app/(app)/* pages │
│ (Sidebar + Topbar shell · role-scoped) │
└──────┬────────────────────────────────┬──────┘
│ useSyncExternalStore │
▼ ▼
┌───────────────────────┐ ┌─────────────────────────┐
│ lib/store.ts │◄────────│ lib/buyer-store.tsx │
│ (mutations · audit · │ │ lib/vendor-store.tsx │
│ notifications) │ │ (portal sessions) │
└──────────┬────────────┘ └─────────────────────────┘
│ reads
▼
┌───────────────────────┐ ┌─────────────────────────┐
│ lib/mock.ts │ │ lib/i18n.tsx │
│ (seed entities) │ │ (5 dictionaries) │
└───────────────────────┘ └─────────────────────────┘
│
▼
┌───────────────────────┐
│ components/* (Chat, │
│ ReturnForm, PodUpload,
│ DispatchWizard …) │
└───────────────────────┘Both this guide and the right-side chatbot read from lib/guide-knowledge.ts. Adding a new module there updates both surfaces automatically — no duplicate documentation to maintain.