How shanugithub25/nfc-review works
ReviewTap is a storefront for customizable NFC/QR review cards, with retail checkout, bulk quoting, saved designs and orders, and an admin operations view. The main customer path runs from product/design discovery through cart and checkout to locally recorded orders; accounts and bulk orders are distinct paths, while the admin view manages saved operational data. The excerpts support app routing, storage calls, postal lookup, and 3D card construction. Several listed product capabilities are unsampled, so their internals and links are omitted rather than inferred.
Main entry points: App.tsx App Router · storage.ts Browser Storage · CheckoutModal.tsx Checkout · ReviewCardMesh.ts Review Card Mesh
Components 24
Storefront
- App Router
src/App.tsx - Product Catalog
src/data/products.ts - Product Showcase
src/components/showcase/CuratedShowcase.tsx - Design Upload
src/components/custom/CustomDesignUpload.tsx - Card Customizer
src/components/customizer/CardCustomizer.tsx - 3D Customizer
src/components/customizer/CardCustomizer3D.tsx - Card Preview
src/components/customizer/CardPreview.tsx - Policy Modals
src/components/common/PolicyModals.tsx
Commerce
- Cart Drawer
src/components/cart/CartDrawer.tsx - Checkout
src/components/checkout/CheckoutModal.tsx - Bulk Quote Portal
src/components/bulk/BulkOrderPortal.tsx
Order Operations
- Account Portal
src/components/account/AccountPortal.tsx - Admin Dashboard
src/components/admin/AdminDashboard.tsx
Card Rendering
- 3D Story
src/components/three/Cinematic3DStory.tsx - Scene Manager
src/three/Scene3DManager.ts - Review Card Mesh
src/three/ReviewCardMesh.ts - Card Geometry
src/three/cardGeometry.ts - Card Textures
src/three/cardTextures.ts - QR Utility
src/utils/qr.ts
Shared Data
- PIN Lookup
src/utils/indiaPostal.ts - Browser Storage
src/utils/storage.ts - Brand Configuration
src/config/brand.ts - Domain Types
src/types/index.ts
Other components
- Customer
Connections 25
- Customer → App Router: uses
src/App.tsx - App Router → Product Showcase: renders
src/App.tsx - App Router → Design Upload: renders
src/App.tsx - App Router → Cart Drawer: renders
src/App.tsx - App Router → Checkout: renders
src/App.tsx - App Router → Account Portal: routes to
src/App.tsx - App Router → Admin Dashboard: routes to
src/App.tsx - App Router → Policy Modals: renders
src/App.tsx - App Router → 3D Story: renders
src/App.tsx - Product Showcase → Product Catalog: uses products
- Design Upload → Product Catalog: uses products
src/components/custom/CustomDesignUpload.tsx - Checkout → PIN Lookup: looks up PIN
src/components/checkout/CheckoutModal.tsx - Checkout → Browser Storage: saves order
src/components/checkout/CheckoutModal.tsx - Checkout → Browser Storage: clears cart
src/components/checkout/CheckoutModal.tsx - Cart Drawer → Browser Storage: reads cart
src/components/cart/CartDrawer.tsx - Account Portal → Browser Storage: reads account data
src/components/account/AccountPortal.tsx - Account Portal → Card Preview: renders preview
src/components/account/AccountPortal.tsx - Admin Dashboard → Browser Storage: updates records
src/components/admin/AdminDashboard.tsx - Admin Dashboard → Product Catalog: uses products
src/components/admin/AdminDashboard.tsx - App Router → Browser Storage: loads cart
src/App.tsx - Scene Manager → Review Card Mesh: creates card
src/three/Scene3DManager.ts - 3D Story → Review Card Mesh: creates card
src/components/three/Cinematic3DStory.tsx - Review Card Mesh → Card Geometry: builds geometry
src/three/ReviewCardMesh.ts - Review Card Mesh → Card Textures: creates textures
src/three/ReviewCardMesh.ts - Card Textures → QR Utility: uses QR utility
src/utils/qr.ts