How manikanta7cheruku/weddingportfolio works
MVK Photography’s quote-and-booking product has a React client and Express/MongoDB API. Customers choose an event, configure services and albums, review pricing, and—on the wedding flow shown—submit a quote and verify by OTP. The API recalculates and stores wedding quotes, then sends SMS notifications on confirmation. Birthday quoting and quote downloads are also represented. Evidence is limited to the README (empty) and sampled files; birthday confirmation and custom-event submission appear client-side, so no server link is inferred.
Main entry points: WeddingQuote.jsx Wedding quote · index.js API routes · BirthdayQuote.jsx Birthday quote · Home.jsx Event selection
Components 26
Event discovery
- Client routes
reactfile/quote/src/App.jsx - Event selection
reactfile/quote/src/pages/Home.jsx - Event cards
reactfile/quote/src/components/EventCard.jsx - Custom event form
reactfile/quote/src/components/CustomEventCard.jsx - Submit toast
reactfile/quote/src/components/Toast.jsx - Other booking route
reactfile/quote/src/pages/BookingPlaceholder.jsx
Quote configuration
- Wedding quote
reactfile/quote/src/features/quote/WeddingQuote.jsx - Birthday quote
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Birthday pricing
reactfile/quote/src/features/birthday/config/birthdayPricing.js - Wedding pricing
reactfile/quote/src/features/quote/config/weddingPricing.js - Quote calculator
reactfile/quote/src/features/quote/hooks/useQuoteCalculator.js - Service selection
reactfile/quote/src/features/quote/components/EventAccordion.jsx - Album selection
reactfile/quote/src/features/quote/components/AlbumSection.jsx - Review and export
reactfile/quote/src/features/quote/components/SummarySection.jsx - Live total
reactfile/quote/src/features/quote/components/FloatingTotal.jsx - Pre-wedding selection
reactfile/quote/src/features/quote/components/PreWeddingAccordion.jsx
Quote API
- API routes
api/src/index.js - Server quote calculator
api/src/utils/calcQuote.js
Persistence
- Customer records
api/src/models/Customer.js - Quote records
api/src/models/Quote.js - OTP records
api/src/models/Otp.js
Notifications
- SMS provider
api/src/lib/sms.js - WhatsApp Cloud helper
api/src/lib/whatsappCloud.js
Other components
- Customer
- SMS service
- MongoDB
Connections 32
- Customer → Event selection: chooses event
reactfile/quote/src/pages/Home.jsx - Event selection → Event cards: renders
reactfile/quote/src/pages/Home.jsx - Event selection → Custom event form: renders
reactfile/quote/src/pages/Home.jsx - Custom event form → Submit toast: shows confirmation
reactfile/quote/src/components/CustomEventCard.jsx - Client routes → Event selection: routes to
reactfile/quote/src/App.jsx - Client routes → Wedding quote: routes to
reactfile/quote/src/App.jsx - Client routes → Other booking route: routes to
reactfile/quote/src/App.jsx - Wedding quote → Wedding pricing: loads pricing
reactfile/quote/src/features/quote/WeddingQuote.jsx - Birthday quote → Birthday pricing: loads pricing
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Wedding quote → Quote calculator: calculates selection
reactfile/quote/src/features/quote/WeddingQuote.jsx - Birthday quote → Quote calculator: calculates selection
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Wedding quote → Service selection: renders
reactfile/quote/src/features/quote/WeddingQuote.jsx - Wedding quote → Album selection: renders
reactfile/quote/src/features/quote/WeddingQuote.jsx - Wedding quote → Review and export: renders
reactfile/quote/src/features/quote/WeddingQuote.jsx - Birthday quote → Service selection: renders
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Birthday quote → Album selection: renders
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Birthday quote → Review and export: renders
reactfile/quote/src/features/birthday/BirthdayQuote.jsx - Customer → Wedding quote: configures quote
- Customer → Birthday quote: configures quote
- Wedding quote → API routes: submits quote
reactfile/quote/src/features/quote/WeddingQuote.jsx - Wedding quote → API routes: requests OTP
reactfile/quote/src/features/quote/WeddingQuote.jsx - Wedding quote → API routes: verifies OTP
reactfile/quote/src/features/quote/WeddingQuote.jsx - API routes → Server quote calculator: calculates totals
api/src/index.js - API routes → Customer records: reads or creates
api/src/index.js - API routes → Quote records: reads or writes
api/src/index.js - API routes → OTP records: reads or writes
api/src/index.js - API routes → SMS provider: sends messages
api/src/index.js - SMS provider → SMS service: sends SMS
- API routes → MongoDB: connects
api/src/index.js - WhatsApp Cloud helper → MongoDB: integration unclear
- Wedding quote → Live total: renders total
- Wedding quote → Pre-wedding selection: renders selection