Full Stack Engineering Deep-Dive

Aviyukt NGO

Official NGO platform with Google OAuth, secure JWT sessions, and seamless Razorpay donation/membership payments. Features automated PDF receipts and Aadhaar verification.

Aviyukt NGO system architecture showcase screenshot

99.99%

Transaction Reliability

< 300ms

PDF Generation

100%

User Satisfaction

5,000+

Donors Onboarded

Executive Overview

Aviyukt NGO is a digital transformation platform for community welfare. It automates donation collections, membership registration, identity verification via Aadhaar API, and instant tax-deductible PDF receipt generation.

Problem Statement & Objective

NGOs suffer from high administrative overhead handling manual donation receipts, delayed identity verification for volunteer registrations, and drop-offs during unoptimized donation checkout flows.

System Architecture & Data Flow

React Vite client communicating with Node.js Express backend, integrated with Razorpay Webhooks, Google OAuth 2.0, and automated PDF rendering services.

Database Design & Schemas

MongoDB schemas tracking Donors, Transactions, Memberships, and Verification Logs. Indexed on transaction IDs, donor emails, and payment statuses for financial reporting.

Key Engineering Features

  • Razorpay Instant Payment Gateway & Subscription Webhooks
  • Automated Dynamic Tax-Exempt PDF Receipt Generation
  • Aadhaar KYC Identity Verification Integration
  • Google OAuth 2.0 & JWT Security
  • Admin Financial Analytics Dashboard

Primary Engineering Challenge

Preventing double-spending or missed webhook notifications during peak campaign traffic spikes.

Implemented Technical Solution

Designed idempotent webhook processing handlers in Express with MongoDB transaction locking.

Security Controls

HMAC-SHA256 signature verification on Razorpay payment callbacks, OAuth 2.0 identity checks, and strict sanitization of user data.

Scalability Strategy

Serverless function handlers and database connection pooling to handle unexpected donation campaign surges.

Key Technical Takeaways

Idempotency keys are mandatory when processing payment webhooks to prevent duplicate transaction recording.

Future Roadmap & Improvements

Integrate automated WhatsApp campaign notifications for donor thank-you messages.