Backend & Deployment for React PWA

Job ID: 40185138

Budget: ₹600 – ₹1,500 INR

I already have a production-ready React + TypeScript front-end built with Tailwind CSS. It is fully responsive, PWA-enabled, and ships with features such as selfie-based membership onboarding, hierarchy tracking, event proofing, a secure checkout modal, and a jurisdiction-aware privacy layer where Adhyakshas only access their assigned areas.

What still needs attention is everything behind the scenes:

• Data layer – the interface currently writes to localStorage. I want that logic swapped out for Firebase (Firestore + Cloud Functions where appropriate) so the app gains real-time sync, offline persistence, and user-scoped security rules that respect my existing jurisdiction model.

• Authentication – the UI already guides users through phone-based OTP login. Please hook this flow to a live SMS gateway. I’m happy with Firebase; just expose the key credentials via environment variables and wire up the verification callbacks.

• Payments – the checkout modal (Payments.tsx) is designed for Razorpay. Integrate their Web SDK, create the server-side order endpoint, and pass success/failure states back to the UI so the existing receipt UI lights up correctly.

• Deployment – containerise or otherwise package the finished app, deploy it to a secure server (Vercel, AWS, Render or similar), and confirm that the Android PWA manifest installs cleanly. An SSL-secured custom domain is already available.

Acceptance criteria
– All reads/writes formerly hitting localStorage persist to Firebase and respect role-based rules.
– A user can request and verify an OTP, sign in, and the session survives reloads.
– A test payment on Razorpay returns a success response and updates the UI.
– Lighthouse confirms the PWA is installable, and the live URL loads without console errors.

If this scope fits your expertise in Firebase, Node/Express (or Cloud Functions), Razorpay integration, and DevOps, let’s align on timelines and milestones so we can push to production quickly.