How senerol/luggage-store works
Luggo is a two-sided luggage-storage marketplace. A traveler searches nearby locations, checks availability, books and pays, then uses a QR code for drop-off and pickup; partners list space and manage bookings, while admins review applications, moderate listings, and oversee marketplace operations. The graph follows the documented React-to-Express-to-PostgreSQL architecture and preserves onboarding, payouts, reviews, notifications, analytics, and reporting. Some backend domain links are based on README descriptions rather than sampled implementations; those are marked unverified or omitted.
Main entry points: app.ts Express API · App.tsx Web application · storageService.ts Storage search and listings · bookingService.ts Booking and capacity
Components 27
Customer and partner app
- Web application
client/src/App.tsx - Location search
client/src/pages/search/SearchPage.tsx - Booking flow
client/src/pages/booking/BookingFlowPage.tsx - Payment checkout
client/src/pages/booking/PaymentPage.tsx - QR booking
client/src/pages/booking/BookingQrPage.tsx - Partner workspace
client/src/pages/partner/PartnerStoragePage.tsx - Admin workspace
client/src/pages/admin/AdminDashboardPage.tsx
API and identity
- Express API
server/src/app.ts - Authentication
server/src/services/authService.ts
Marketplace operations
- Storage search and listings
server/src/services/storageService.ts - Search geocoding
server/src/services/geocodingService.ts - Partner applications
server/src/services/partnerApplicationService.ts - Partner operations
server/src/services/partnerService.ts
Booking lifecycle
- Booking and capacity
server/src/services/bookingService.ts - Pricing and commission
server/src/services/pricingService.ts - Payment processing
server/src/services/paymentService.ts - QR verification
server/src/services/qrService.ts
Platform oversight
- Customer reviews
server/src/services/reviewService.ts - Notifications
server/src/services/notificationService.ts - Analytics and funnel
server/src/services/analyticsService.ts - Admin operations
server/src/services/adminService.ts - Payout ledger
server/src/services/payoutService.ts
Other components
- Traveler
- Storage partner
- Luggo admin
- PostgreSQL
- Razorpay
Connections 40
- Traveler → Web application: uses
README.md - Storage partner → Web application: uses
README.md - Luggo admin → Web application: uses
README.md - Web application → Location search: routes to
client/src/App.tsx - Web application → Booking flow: routes to
client/src/App.tsx - Web application → Payment checkout: routes to
client/src/App.tsx - Web application → QR booking: routes to
client/src/App.tsx - Web application → Partner workspace: routes to
client/src/App.tsx - Web application → Admin workspace: routes to
client/src/App.tsx - Location search → Express API: queries
- Booking flow → Express API: submits booking
- Payment checkout → Express API: requests payment
- QR booking → Express API: verifies QR
- Partner workspace → Express API: manages listings
- Admin workspace → Express API: requests operations
- Express API → Authentication: mounts auth routes
server/src/app.ts - Express API → Storage search and listings: mounts storage routes
server/src/app.ts - Express API → Partner applications: mounts partner routes
server/src/app.ts - Express API → Booking and capacity: mounts booking routes
server/src/app.ts - Express API → Payment processing: mounts payment routes
server/src/app.ts - Express API → QR verification: mounts QR routes
server/src/app.ts - Express API → Customer reviews: mounts review routes
server/src/app.ts - Express API → Admin operations: mounts admin routes
server/src/app.ts - Express API → Analytics and funnel: mounts analytics routes
server/src/app.ts - Storage search and listings → Search geocoding: geocodes searches
server/src/services/storageService.ts - Storage search and listings → Booking and capacity: checks capacity
server/src/services/storageService.ts - Storage search and listings → PostgreSQL: reads listings
server/src/services/storageService.ts - Booking and capacity → Pricing and commission: calculates price
- Booking and capacity → PostgreSQL: stores bookings
- Payment processing → Razorpay: creates orders
README.md - Payment processing → PostgreSQL: records payments
- QR verification → PostgreSQL: verifies tokens
README.md - Partner applications → PostgreSQL: tracks applications
README.md - Partner operations → PostgreSQL: manages locations
- Customer reviews → PostgreSQL: stores reviews
- Notifications → PostgreSQL: stores notifications
README.md - Analytics and funnel → PostgreSQL: queries events
README.md - Admin operations → PostgreSQL: manages marketplace
- Admin operations → Payout ledger: oversees payouts
- Pricing and commission → PostgreSQL: reads commission
README.md