Indian weddings are among the most elaborate cultural celebrations in the world. Spanning 3 to 7 distinct ceremonies—Haldi, Mehndi, Sangeet, Pheras, and Reception—they involve hundreds of guests attending across multiple days and venues.
Yet, most modern event and wedding website builders (Zola, The Knot, Joy, Paperless Post) were designed around Western single-day ceremony paradigms. When Indian couples try using them, they immediately hit friction:
- RSVPs by Family Unit: In South Asian weddings, invites aren't solo or +1; they go to entire families (e.g., "Sharma Family — 4 attending").
- Multi-Ceremony Dietary Tracking: Tracking Veg, Non-Veg, Jain, and Vegan across Haldi, Sangeet, and Reception.
- WhatsApp-First Distribution: Over 90% of guests open invitations directly from WhatsApp mobile links on 3G/4G connections.
- Digital Shagun (Gifting): Direct, zero-commission UPI peer-to-peer gifting instead of traditional cash envelopes.
To solve this, we engineered ShadiLink—a high-performance, mobile-first luxury wedding suite built on Next.js 14 App Router, Tailwind CSS, Prisma, and self-hosted on Oracle Cloud ARM infrastructure.
Here is the architectural breakdown of how we built it.
1. Architecture Overview
Client (Mobile / WhatsApp Webview) │ ▼ Cloudflare Edge CDN │ ▼ Next.js 14 App Router (Docker Container on Oracle ARM) ├── Server Components (RSC) -> Dynamic HTML Streaming ├── tRPC Endpoints (Zod Validation) └── Edge Middleware (Subdomain Routing & Geo-caching) │ ┌───────┴───────┐ ▼ ▼ PostgreSQL (Prisma) Redis (Cache & Rate Limiting) Self-Hosting on Oracle Cloud Free Tier (ARM)
Rather than paying high monthly PaaS bills during early product validation, we architected the system on Oracle Cloud Free Tier's Ampere A1 Compute:
- 4 OCPU (Ampere Altra ARM64)
- 24 GB RAM
- 200 GB NVMe Storage
This gives us tremendous headroom for zero hosting cost. We containerized the Next.js production build using multi-stage Docker builds optimized for linux/arm64.
2. Sub-Second Mobile Performance on WhatsApp Webviews
85% to 95% of our traffic arrives through WhatsApp in-app browser sessions on mid-range Android devices. If a wedding invitation takes more than 2 seconds to load, guests bounce.
We enforced a strict performance budget:
- Sub-100KB client JavaScript per route: Heavy interactive components (photo galleries, maps, music player) are loaded with
next/dynamiconly when scrolled into view. - Fluid Typography Architecture: Instead of breakpoint jumps, all headers and typography use mathematical clamping:
font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem); - Zero Heavy Raster Ornaments: Instead of bloated PNG borders, we engineered lightweight 0.75px vector SVG paths for traditional Mughal arches and jaali motifs that weigh under 2KB.
- Lighthouse Performance Score: 96+ on Mobile with First Contentful Paint under 1.2s on 3G.
3. The Family-Unit RSVP Engine
Western RSVP systems store:
{ guestId: "123", attending: true, meal: "chicken" }
In Indian weddings, this breaks immediately. Our schema groups attendees under single households with per-ceremony granular attendance:
export interface HouseholdRSVP { familyName: string; phone: string; totalGuests: number; dietaryPreference: "VEG" | "NON_VEG" | "JAIN" | "VEGAN"; events: { haldi: boolean; mehndi: boolean; sangeet: boolean; wedding: boolean; reception: boolean; }; notes?: string; } This drastically simplified the guest experience: a single click on WhatsApp lets a head of household confirm everyone attending in less than 20 seconds.
4. Zero-Fee UPI Shagun Integration
Rather than funneling gifts through payment gateways that charge 2-3% platform cuts, ShadiLink generates native UPI intent strings (upi://pay?pa=...&pn=...&am=...&cu=INR) and dynamic on-the-fly QR codes.
When guests tap "Send Shagun" on mobile, it directly launches Google Pay, PhonePe, or Paytm on their phone and transfers 100% of the funds straight into the couple's verified bank account with zero middlemen fees.
What We Learned
- Domain constraints dictate UI constraints: Understanding cultural nuances (like Jain food requirements and family RSVPs) matter far more than adding generic bells and whistles.
- Oracle ARM is a hidden gem for indie builders: 4 ARM cores and 24GB of RAM on Oracle Free Tier provides enterprise-grade performance for free if configured properly.
- Mobile webview resilience is key: Always test in real WhatsApp in-app browsers, not just Chrome DevTools desktop emulation.
Check out live interactive templates at ShadiLink and let us know your feedback!
