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

