How samethereal/diamond-dental works
Diamond Dental is a clinic storefront for curated dental-care packages and standalone oral-care products, with staff portals linked from the landing page. The advertised customer journey is browsing, reserving stock for clinic pickup, then paying in person. The source tree and sampled code show only the landing page and shared Prisma setup; catalog, reservation, pickup, payment, and staff behavior are described by the landing-page copy or linked routes, not inspected implementation. The data model’s details are likewise unavailable.
Main entry points: page.tsx Landing Page · app Stock Reservation · prisma.ts Prisma Client · layout.tsx App Layout
Components 13
Storefront
- Landing Page
src/app/page.tsx - App Layout
src/app/layout.tsx - Clerk Portal
src/app - Admin Dashboard
src/app
Commerce Journey
- Package Catalog
src/app - Product Catalog
src/app - Stock Reservation
src/app - Clinic Pickup
src/app - In-Person Payment
src/app
Persistence
- Prisma Client
src/lib/prisma.ts - Data Model
prisma/schema.prisma
Other components
- Customer
- Clinic Staff
Connections 15
- Customer → Landing Page: opens
- Landing Page → App Layout: renders within
- Landing Page → Package Catalog: links to
- Landing Page → Product Catalog: links to
- Landing Page → Clerk Portal: links to
- Landing Page → Admin Dashboard: links to
- Customer → Package Catalog: browses
- Customer → Product Catalog: browses
- Customer → Stock Reservation: reserves stock
- Stock Reservation → Clinic Pickup: holds for pickup
- Customer → Clinic Pickup: collects at
- Customer → In-Person Payment: pays in person
- Clinic Staff → Clerk Portal: uses
- Clinic Staff → Admin Dashboard: uses
- Prisma Client → Data Model: uses model