Inspiration
I grew up in a village, and I have watched one problem since childhood. Around every town there are dozens of villages, and people from those villages go to town almost every day to buy things they cannot find at home: a tractor part, clothes, school items, household goods.
Every trip costs a day of time and money for transport. Sometimes the shop does not even have the item, so the trip is for nothing. And the travel cost makes everything more expensive.
At the same time, people are already travelling from town back to those villages every day, with empty space in their vehicles. Nobody connects the two sides. A normal courier needs a special trip to reach a small village, so most delivery services do not serve villages well.
I kept thinking: why should a village go to the city for every small thing? The city can come to the village.
What it does
शहर मित्र (SheharMitra) lets villagers shop from trusted town shops and get the order delivered by a verified person who is already travelling to their village.
- Find a shop: search by shop or item in Hindi or English, then chat or call the shopkeeper.
- Agree a clear deal: the shop sends an itemised quote, the buyer accepts it, and the buyer agrees a delivery fee with the partner. Goods, delivery and platform fee are always shown separately.
- Delivery on trips that already exist: delivery partners publish their trip, and the app lists matching trips by route, address and timing.
- Safe handover: separate pickup and delivery codes, a packaging photo, and a clear order timeline.
- Trust and fairness: delivery partners are reviewed by an admin, and a dispute resolver can record a reasoned decision with a partial split.
One account can buy, sell and deliver. It works in Hindi and English and is designed for first-time smartphone users.
It helps three groups at once: villagers save time and money, town shops reach more customers, and travellers earn extra on a trip they were already making.
How I built it
- Frontend: Next.js, React, TypeScript and Tailwind CSS, with Hindi and English screens and mobile-first layouts, deployed on Vercel.
- Backend: Node.js and Express with MongoDB (Mongoose), running in a Docker container on Northflank. The server decides who can do what at each step of an order.
- Real time: Socket.IO for chat and notifications, and WebRTC audio/video calls with Cloudflare TURN.
- Services: Firebase for phone sign-in and push notifications, AWS S3 for private uploads, and Geoapify for address lookup.
- Staff tools: a separate admin workspace and a dispute-resolver workspace.
Challenges I ran into
- Villages do not have precise map coordinates. I replaced latitude/longitude with plain addresses and a "Use my current location" button, and match by address and area. The buyer and partner confirm the exact meeting point.
- Trust between strangers. Prices cannot change silently in chat, so quotes and fees are structured. Pickup and delivery use separate codes, and disputes have a written decision.
- One person, many roles. The same account can be a buyer, seller and delivery partner, while admin and resolver stay separate. Every action is checked on the server.
- Calls across different networks need a relay (TURN), and some browsers cannot switch the speaker, so the app shows honest messages instead of fake buttons.
- Designing for low technical literacy: large buttons, icons with words, a Help button, a large-text option, and a clear next step on every screen.
Accomplishments that I'm proud of
- A complete order journey that works end to end: shop search, chat, quote, delivery partner, pickup code, delivery code and dispute review.
- Hindi and English across the whole app.
- Designing the app around trips that already exist, so no new delivery fleet is needed.
What I learned
- The hardest part of a marketplace is trust, not features.
- Users with limited technical skills need fewer choices and plain words.
- Being honest in the product (likely shops, not confirmed stock; route estimates; simulated payments) builds more trust than overpromising.
What's next
- Real payments: the app currently uses a simulated payment ledger and no real money moves. Next, I will add real payments with funds held until delivery, plus a cash-on-delivery option.
- A pilot with local shops, buyers and delivery partners around Najibabad (Bijnor, Uttar Pradesh).
- Better address suggestions, clearer pickup guidance and live trip tracking.
- Repeat the model around other towns.
Try the app (judges, please read)
1. Read the PDF first (about 5 minutes). It explains the idea, the problem, how everything works and what is built. PDF: https://drive.google.com/file/d/1xIV36IXw9u4ClIai588qCyXtIUpKOSFk/view?usp=sharing
2. Then try the live app. App: https://shehar-mitra-7tcq.vercel.app/en/profile
Demo accounts. Log in with the phone number and this password:
Password for all accounts: Radharani@123
- Abhinav, 9000000000: shopkeeper + buyer
- Lavi Chauhan, 9111111111: buyer + seller
- Aaryan, 9999999911: delivery partner (approved)
- Anirudh, 9999990000: ADMIN (separate admin panel)
Or create your own account. Sign up with your phone number and a password. You become a buyer instantly and can find shops and place orders. Add a shop and you also become a seller. Add a delivery trip and you also become a delivery partner. If the SMS code does not arrive, please use the demo accounts above.
Please note: my backend runs on a free server in the US, so the app can be slow, especially on the first load. Sorry for that, I am on a free plan right now. Please give it a few seconds. If you are short on time, the PDF explains everything.
Built With
- amazon-web-services
- cloudfront
- express.js
- firebase
- geopify
- mongodb
- nextjs
- node.js
- react
