How thiraphatklineingdee/w13-clinicapp-66012241 works
The checked-in runtime is a board-game reservation app, not the clinic app described by the README. Its main flow is browsing games and reservations, submitting or cancelling a time-slot booking, and refreshing the displayed results. The API checks overlapping reservations and reads or writes SQL through a pooled connection. The graph follows the sampled source; README claims about doctors and clinic appointments do not match it.
Main entry points: index.js API routes · App.jsx Browse and book · db.js SQL connection pool · main.jsx React bootstrap
Components 6
Reservation interface
- Browse and book
web/src/App.jsx - React bootstrap
web/src/main.jsx
Booking API
- API routes
server/index.js
SQL data
- SQL connection pool
server/db.js - SQL database
Other components
- Player
Connections 6
- Player → Browse and book: uses
web/src/App.jsx - React bootstrap → Browse and book: renders
web/src/main.jsx - Browse and book → API routes: requests games and bookings
web/src/App.jsx - API routes → SQL connection pool: gets connection
server/index.js - API routes → SQL database: queries and modifies
server/index.js - SQL connection pool → SQL database: connects
server/db.js