How dechub-official/30th_anniversary works
This is a Tanishq anniversary guest-wishes web app: guests enter a name and message, capture a photo or record a video, then proceed through consent and submission. The React app provides landing/QR and mobile routes, with draft and submission state persisted in browser storage. A serverless submissions handler separately accepts submissions and consent updates and writes records and media to disk. The excerpts do not show whether the client calls that handler, so that integration is marked unverified.
Main entry points: App.jsx Route dispatch · main.jsx React app mount · submissions.js Submission API
Components 13
App entry
- React app mount
src/main.jsx - Route dispatch
src/App.jsx
Guest experience
- Landing and QR
src/App.jsx - Wish details
src/App.jsx - Photo capture
src/App.jsx - Video recording
src/App.jsx - Consent
src/App.jsx
Submission state
- Draft state
src/App.jsx - Browser storage
- Submission handling
src/App.jsx
Submission backend
- Submission API
api/submissions.js - Submission files
Other components
- Guest
Connections 17
- Guest → React app mount: opens
src/main.jsx - React app mount → Route dispatch: renders
src/main.jsx - Route dispatch → Landing and QR: routes
src/App.jsx - Route dispatch → Wish details: routes
src/App.jsx - Route dispatch → Photo capture: routes
src/App.jsx - Route dispatch → Video recording: routes
src/App.jsx - Route dispatch → Consent: routes
src/App.jsx - Wish details → Draft state: updates
src/App.jsx - Photo capture → Draft state: uses
src/App.jsx - Video recording → Draft state: uses
src/App.jsx - Draft state → Browser storage: persists
src/App.jsx - Photo capture → Submission handling: submits
src/App.jsx - Video recording → Submission handling: submits
src/App.jsx - Consent → Submission handling: updates consent
src/App.jsx - Submission handling → Browser storage: stores
src/App.jsx - Submission handling → Submission API: may call
- Submission API → Submission files: writes and reads
api/submissions.js