Process & launch

Delivery & operations

Two-week sprints, third-party setup order, deployment topology, and risk mitigations. Target: stable production before 14 January 2027.

Phased delivery (original plan)

  1. Step 1 — All screens designed (marketing + booking + dashboard).
  2. Step 2 — Parallel implementation: web + Expo.
  3. Step 3 — Backend API (shared contracts, validators).
  4. Step 4 — Integration, E2E, payment and webhook hardening.
  5. Step 5 — Deploy and operate through Apr 2027.

Sprint map (2 weeks each)

From ~May 2026 to Jan 2027 ≈ sixteen sprints. Themes can shift; keep at least two sprints of buffer before the first Shahi Snan traffic spike.

# Theme
1Discovery, IA, wireframes (all flows)
2High-fidelity UI; freeze URL patterns + API list
3Monorepo, Neon, Drizzle, auth foundation
4Catalog read path (web + mobile + API)
5Stalls + maps (read-only)
6Cart + booking + pilgrim validation
7Stripe checkout + payment rows
8Webhooks + email confirmation + booking status
9Dashboard, profile, reviews
10Pind Pradanam + Shahi Snan date rules
11Water orders + ops notifications
12Push reminders + scheduled jobs
13Integration hardening, E2E, load on checkout
14Security review, logging, rate limits
15Content freeze, SEO, analytics, store submissions
16Go-live buffer, smoke tests, on-call runbooks

Fastest MVP (vertical slice)

  1. Monorepo + Neon + Drizzle: users, packages, bookings, pilgrims, payments.
  2. Auth: phone OTP + session; minimal profile.
  3. One bookable SKU (e.g. Ganga Aarti or single Shahi Snan package) on web + Expo.
  4. Checkout with Stripe + webhook → confirmed + Resend email.
  5. User bookings list.
  6. Read-only nearest stall (seed data).
  7. Then: ancestors, puja types, water orders, WhatsApp automation, full marketing pages.

Third-party integrations (priority)

Pri Service Role
P0Neon PostgreSQLPrimary database
P0StripePayments + webhooks
P0ResendTransactional email
P0Cloudflare R2Images / assets
P1Google Maps PlatformWeb embed + mobile maps
P1WhatsApp Business APIConfirmations (provider TBD)
P2Sentry (or similar)Error monitoring
P2AnalyticsPlausible / GA4
P2Redis (optional)Rate limits / OTP cooldown

CI/CD

  • GitHub Actions: lint, typecheck, test, Turborepo build on PR.
  • Web: deploy to Vercel on main (preview on PR).
  • API: Docker + Fly.io deploy; migrate DB on release job.
  • Mobile: EAS Build on tags or main; submit to stores via EAS Submit.
  • Single-host (optional) — consolidated Docker Compose on one EC2/VPS: see Single-host deployment (plan and phased rollout; default remains split hosting above).

Risks & mitigations

Risk Mitigation
Duplicate / failed Stripe webhooks Idempotent handlers; store event or payment external id
Peak traffic during Snan Cache catalog; connection pooling; queue non-critical work
WhatsApp template delays Start WABA early; email always works as fallback
PII / compliance Data minimization; access logs; clear retention policy
Auth drift web vs mobile Single documented session model; shared API tests

Open decisions (capture when resolved)

  • WhatsApp provider (Meta Cloud vs BSP).
  • Guest checkout vs login-required before pay.
  • Admin panel in v1 vs DB + scripts.
  • Hindi (or multi-language) scope for launch.