How sanjeevskr/vaccination_slot_booking works
This is an Express vaccination-slot booking application with separate client and administrator flows. Clients register or log in, browse vaccination-center availability, submit booking details, and reach a booked page; administrators log in, maintain centers and hours, and view client records. MongoDB holds accounts, centers, and client bookings, while a daily task resets per-day center counts. The excerpts expose the main routes and persistence calls, but omit parts of the booking/count logic; those details are not expanded beyond what is shown.
Main entry points: app.js Express routes · public Static assets · views Client pages
Components 15
Web application
- Express routes
app.js - Static assets
public
Client booking
- Client authentication
app.js - Center availability
app.js - Booking details
app.js - Booking status
app.js - Client pages
views
Administration
- Admin authentication
app.js - Center management
app.js - Client records
app.js - Admin pages
views - Daily count reset
app.js
Persistence
- MongoDB
app.js
Other components
- Client
- Administrator
Connections 18
- Client → Express routes: uses routes
app.js - Administrator → Express routes: uses routes
app.js - Express routes → Client authentication: handles login
app.js - Express routes → Center availability: serves availability
app.js - Express routes → Booking details: accepts details
app.js - Express routes → Booking status: serves status
app.js - Express routes → Admin authentication: handles login
app.js - Express routes → Center management: maintains centers
app.js - Express routes → Client records: loads records
app.js - Express routes → Client pages: renders pages
app.js - Express routes → Admin pages: renders pages
app.js - Express routes → MongoDB: reads and writes
app.js - Daily count reset → MongoDB: resets counts
app.js - Express routes → Static assets: serves files
app.js - Client authentication → MongoDB: stores accounts
app.js - Booking details → MongoDB: saves booking
app.js - Center management → MongoDB: updates centers
app.js - Client records → MongoDB: queries bookings
app.js