How lillian0201/molarcoaster works
MolarCoaster is a dental clinic website for patients. Its primary workflow is browsing clinic information and services, checking educational resources, then requesting an appointment; a separate contact form sends messages. The appointment UI checks availability and submits requests through PHP endpoints backed by MySQL. The tree also documents booking, contact, resources, and shared navigation; unsampled page content is represented at its exact page path. Relationships are limited to explicit README/index references and shown calls; some page-to-page navigation and unsampled backend behavior are not expanded.
Main entry points: config.php Database helpers · appointment.js Booking calendar · services.html Dental services · resources.html Dental resources
Components 17
Patient website
- Clinic home
Patient/Home Page/home.html - Clinic profile
Patient/About/about.html - Dental services
Patient/Services/services.html - Service details
Patient/Services - Dental resources
Patient/Resources/resources.html - Shared navigation
Patient/js/layout.js
Patient interactions
- Contact page
Patient/Contact/contact.html - Contact submission
Patient/Contact/contact.js - Appointment page
Patient/Appointment Booking/appointment.html - Booking calendar
Patient/Appointment Booking/appointment.js
API and data
- Message endpoint
Patient/Database/send_message.php - Booking endpoint
Patient/Database/book_appointment.php - Availability endpoint
Patient/Database/booked_slots.php - Database helpers
Patient/Database/config.php - Clinic database
Patient/Database/schema.sql
Other components
- Patient
- Resource providers
Connections 15
- Patient → Clinic home: browses
- Patient → Clinic profile: browses
- Patient → Dental services: browses
- Patient → Dental resources: browses
- Patient → Contact page: opens
- Patient → Appointment page: opens
- Dental services → Service details: offers
- Booking calendar → Availability endpoint: fetches availability
Patient/Appointment Booking/appointment.js - Booking calendar → Booking endpoint: submits request
Patient/Appointment Booking/appointment.js - Contact submission → Message endpoint: submits message
Patient/Contact/contact.js - Message endpoint → Database helpers: uses helpers
Patient/Database/send_message.php - Booking endpoint → Database helpers: uses helpers
Patient/Database/book_appointment.php - Availability endpoint → Database helpers: uses helpers
Patient/Database/booked_slots.php - Database helpers → Clinic database: connects to
- Dental resources → Resource providers: links to