Skip to content
Deepak PriyadarshiDeepak Priyadarshi
Work
Handed over

MARG ERP Ltd

Paas Ki Dukaan

Hyperlocal grocery and pharmacy marketplace for stores running MARG ERP.

Role
Lead engineer (via The Local Sandbox)
Timeline
Jun 2025 – May 2026

Context

MARG ERP is one of India's largest ERP vendors for pharmacies and retailers. Paas Ki Dukaan lets nearby MARG-powered stores sell online: shoppers discover stores around them, search grocery and pharma catalogues, upload prescriptions and check out, while orders sync back into each store's ERP.

What I built

  1. 01Multi-tenant MongoDB with a database per store and a connection manager that caches and de-duplicates tenant connections
  2. 02Geo store discovery with $geoNear on 2dsphere indexes
  3. 03Asynchronous order and prescription sync to MARG ERP through BullMQ queues and a dedicated worker
  4. 04Separate grocery and pharma catalogues; master- and store-level API keys; bulk CSV import
  5. 05Expo / React Native app with maps, location, voice search and prescription capture
  6. 06Super-admin console for stores, API keys and master data; Jest tests with Husky pre-push checks