How aravasamarth-hub/ss-dental-web works
SS Dental Care is a clinic website with informational and treatment pages plus appointment booking. Visitors enter through the React app’s routes, browse clinic and service information, or submit a booking; the booking page also triggers notifications and may save booking data. The API handles payment verification and booking endpoints, using Supabase and email notifications, with a watcher for background work. Source excerpts support the app routes and parts of booking and API behavior; many page and API internals were not sampled, so uncertain links are omitted.
Main entry points: App.jsx App router · server.js Booking API · services Service pages · BookingsPage.jsx Booking form
Components 15
Clinic website
- App router
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - Clinic pages
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/pages - Service pages
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/pages/services - Service catalog
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/data/servicesData.js - Service detail layout
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/components/ServiceDetailLayout.jsx - Version checker
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/hooks/useVersionCheck.js
Appointment booking
- Booking form
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/pages/BookingsPage.jsx - Booking notifier
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/lib/sendNotification.js
Booking API
- Booking API
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/server.js
Persistence and notifications
- DB helpers
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/db.js - Email delivery
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/notifications.js - Background watcher
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/watcher.js
Other components
- Visitor
- Supabase
- Razorpay
Connections 16
- Visitor → App router: opens
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - App router → Clinic pages: routes to
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - App router → Service pages: routes to
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - App router → Booking form: routes to
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - App router → Version checker: checks version
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/App.jsx - Service pages → Service detail layout: renders
- Service pages → Service catalog: uses data
- Booking form → Booking notifier: sends notice
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/web/src/pages/BookingsPage.jsx - Booking notifier → Booking API: submits notice
- Booking form → Supabase: writes booking
- Booking API → DB helpers: uses helpers
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/server.js - Booking API → Email delivery: sends notice
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/server.js - Booking API → Razorpay: creates orders
- DB helpers → Supabase: reads and writes
- Background watcher → DB helpers: uses helpers
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/watcher.js - Background watcher → Email delivery: uses notifications
horizons-export-dc22980f-a9df-4839-96b8-627d622e799c/apps/api/watcher.js