Shree Collections D2C Platform
A full-stack, serverless direct-to-consumer (D2C) e-commerce web application and single-page admin management portal engineered for boutique retail fashion.
01 / Concept & Product Architecture
Transitioning boutique retail fashion to direct-to-consumer digital channels requires balancing zero fixed infrastructure overhead with enterprise-grade payment safety. We engineered a serverless hybrid architecture: static frontend assets load instantly from a global CDN, while all transactional operations—including payment initialization, coupon rules, and inventory updates—are executed inside isolated Node.js serverless functions guarded by strict database security rules.
02 / Core Engineering Pillars
03 / Platform Engineering Checklist
Every layer of the Shree Collections platform was engineered to satisfy strict security, reliability, and business execution standards:
- Vanilla JavaScript ES Modules Architecture
- Firebase Auth (Email/Password & Google OAuth)
- Server-Side Canonical Price Recalculation
- HMAC-SHA256 Cryptographic Payment Signatures
- Idempotent Razorpay Webhook Event Handlers
- Cloud Secret Manager Runtime Injection
- Role-Based Access Control (`admin: true` Claims)
- Firestore Rule Security & Storage 5MB Size Limits
- Dynamic Free Shipping Threshold Calculations
- Persistent Shopping Cart & Buy Now Flow
- Single-Page Operational Admin Control Panel
- Firebase Emulator Suite Integration Testing