How joshricaballes2007-create/bright-smile works
Bright Smile is a dental clinic information and appointment website. Visitors browse clinic pages, choose a service and time, and submit booking details; the server validates requests and, in live mode, schedules through Cal.com and records data with Supabase. The site also supports contact messages, patient accounts and history, and an admin page. The graph preserves the documented prototype separately. Some route and database details are not shown in the excerpts, so those links are included only where the README or sampled source supports them.
Main entry points: app.py Booking workflow · booking.js Booking calendar · main.js Contact form · supabase-setup.sql Database setup
Components 17
Website experience
- Clinic pages
templates/home.html - Shared layout
templates/base.html - Services page
templates/services.html - Booking calendar
static/booking.js - Patient account
templates/account.html - Admin page
templates/admin.html - Contact form
static/main.js - Responsive styling
static/style.css
Server workflows
- FastAPI server
app.py - Booking workflow
app.py - Accounts and history
app.py - Contact handling
app.py
External services
- Database setup
supabase-setup.sql - Supabase
- Cal.com
Legacy prototype
- Original prototype
legacy/script-1.js
Other components
- Visitor
Connections 14
- Visitor → Clinic pages: browses
README.md - Visitor → Booking calendar: chooses appointment
README.md - Visitor → Patient account: uses account
README.md - Visitor → Admin page: administers clinic
README.md - Visitor → Contact form: sends message
README.md - FastAPI server → Shared layout: renders pages
app.py - Booking calendar → Booking workflow: requests slots
static/booking.js - Booking calendar → Booking workflow: submits booking
static/booking.js - Contact form → Contact handling: posts message
static/main.js - Booking workflow → Cal.com: checks and books
app.py - Booking workflow → Supabase: stores history
README.md - Accounts and history → Supabase: verifies and reads
app.py - Contact handling → Supabase: saves message
- Database setup → Supabase: defines tables
README.md