All projects
Live2023

Royalerado

Premium motorcycle accessories e-commerce for the Indian market

Royalerado is a direct-to-consumer store for premium motorcycle accessories in India. It needed to work the way Indian e-commerce actually works: mostly mobile, mostly on patchy networks, with UPI as the default payment path rather than an afterthought.

Royalerado motorcycle accessories storefront
UPI
First-class payment path
SSR
Server-rendered catalogue
D2C
Direct-to-consumer store

The problem

Off-the-shelf storefronts assumed card-first checkout and desktop browsing. Neither matches how the customer base buys. The store needed a checkout that treats UPI as the primary route and a catalogue that stays fast on a 4G connection in a tier-2 city.

What I built

A storefront and the operational layer behind it.

  • Server-rendered product catalogue with variant handling, so listing and detail pages are indexable and fast on first paint.
  • Cart and checkout wired to Razorpay, with UPI presented first and webhook-driven payment reconciliation rather than optimistic client-side confirmation.
  • PostgreSQL data model covering products, variants, inventory and the order lifecycle.
  • Authentication and an order-history view so repeat customers are not re-entering details each time.

Engineering notes

The interesting work was in the payment path. Razorpay callbacks can arrive out of order or twice, so order state transitions are idempotent and driven by webhooks, with the client treated as a hint rather than a source of truth. That removed the class of bug where a customer sees a failure and a duplicate charge lands anyway.