How mohanarangan123/boutique_app works
MSAARI Works is a boutique bridalwear catalogue and atelier site, with public collection browsing and an admin area for catalogue management. Visitors enter through the routed site, explore products, view a product detail, and can initiate a WhatsApp enquiry; administrators can sign in and manage catalogue entries. The map includes the documented route tree, product and auth boundaries, and server error handling. Several routes and helpers are unsampled, so unverified connections are omitted rather than inferred.
Main entry points: routeTree.gen.ts Route Tree · index.tsx Home Page · products.$id.tsx Product Detail · auth.tsx Sign In
Components 28
Public Site
- Root Layout
msari-works-style-main/src/routes/__root.tsx - Home Page
msari-works-style-main/src/routes/index.tsx - About Page
msari-works-style-main/src/routes/about.tsx - Contact Page
msari-works-style-main/src/routes/contact.tsx - Gallery Page
msari-works-style-main/src/routes/gallery.tsx - Site Layout
msari-works-style-main/src/components/site/SiteLayout.tsx - WhatsApp Action
msari-works-style-main/src/components/site/WhatsAppButton.tsx
Catalogue
- Product Collection
msari-works-style-main/src/routes/products.tsx - Product Detail
msari-works-style-main/src/routes/products.$id.tsx - Product Card
msari-works-style-main/src/components/site/ProductCard.tsx - Product Queries
msari-works-style-main/src/lib/products.ts
Admin Access
- Sign In
msari-works-style-main/src/routes/auth.tsx - Admin Area
msari-works-style-main/src/routes/admin.tsx - Admin Catalogue
msari-works-style-main/src/routes/admin.index.tsx - Product Form
msari-works-style-main/src/components/admin/ProductForm.tsx - Session Auth
msari-works-style-main/src/lib/auth.ts
Runtime Platform
- Router
msari-works-style-main/src/router.tsx - Route Tree
msari-works-style-main/src/routeTree.gen.ts - Supabase Client
msari-works-style-main/src/integrations/supabase/client.ts - Auth Middleware
msari-works-style-main/src/integrations/supabase/auth-middleware.ts - Server Entry
msari-works-style-main/src/server.ts - Error Capture
msari-works-style-main/src/lib/error-capture.ts - Error Page
msari-works-style-main/src/lib/error-page.ts - Error Reporting
msari-works-style-main/src/lib/lovable-error-reporting.ts
Other components
- Visitor
- Administrator
- Supabase
Connections 24
- Router → Route Tree: uses routes
msari-works-style-main/src/router.tsx - Route Tree → Root Layout: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Home Page: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → About Page: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Contact Page: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Gallery Page: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Product Collection: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Product Detail: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Sign In: registers
msari-works-style-main/src/routeTree.gen.ts - Route Tree → Admin Area: registers
msari-works-style-main/src/routeTree.gen.ts - Home Page → Site Layout: renders
msari-works-style-main/src/routes/index.tsx - Home Page → Product Card: renders
msari-works-style-main/src/routes/index.tsx - Home Page → WhatsApp Action: renders
msari-works-style-main/src/routes/index.tsx - Product Detail → Site Layout: renders
msari-works-style-main/src/routes/products.$id.tsx - Product Detail → Product Queries: queries
msari-works-style-main/src/routes/products.$id.tsx - Product Card → WhatsApp Action: renders
msari-works-style-main/src/components/site/ProductCard.tsx - Sign In → Supabase Client: authenticates
msari-works-style-main/src/routes/auth.tsx - Sign In → Session Auth: reads session
msari-works-style-main/src/routes/auth.tsx - Supabase Client → Supabase: connects
msari-works-style-main/src/integrations/supabase/client.ts - Auth Middleware → Supabase: validates claims
msari-works-style-main/src/integrations/supabase/auth-middleware.ts - WhatsApp Action → WhatsApp: opens chat
- Server Entry → Error Capture: captures errors
msari-works-style-main/src/server.ts - Server Entry → Error Page: renders fallback
msari-works-style-main/src/server.ts - Root Layout → Error Reporting: reports errors
msari-works-style-main/src/routes/__root.tsx