Originally published at aharshit123456.space .
Two students leave the same hostel gate every morning for the same library. One has a scooter and an empty back seat; the other is about to pay for an auto. A ride-sharing app could pair them, but on a campus the hard part is not the matching maths. It is trust (who is this person?), money (who pays whom, and how much?), and giving people a reason to open the app on a day they don't need a ride. This post is about the backend I built for that app: one Go binary that handles identity, trips, a coin wallet, live matching and a map game.
Kurukuru is a gamified, college-first, peer-to-peer ride-sharing app I lead at CosQ. A pilot is a student already going somewhere with a seat to share; a co-pilot needs a ride. The app finds a pilot whose route passes near the co-pilot, picks where the co-pilot gets on ( Kuru in ) and off ( Kuru out ), and the co-pilot pays the pilot in KuruCoins .…