What you build
A web application for a hospital outpatient department. Patients book a slot with a doctor and see their live position in the queue. Reception and doctors manage the queue from a dashboard, reducing crowding in the waiting area.
Modules
- Patient registration and slot booking
- Doctor schedules and slot limits
- Live queue board: now serving, next, estimated wait
- Reception dashboard for walk-in patients
- Visit history per patient
What you will understand
- Splitting an app into a React front end and a Node.js API
- Designing REST endpoints and validating input on the server
- Keeping the queue consistent when two people book the last slot
How it is tested
- API tests for booking, cancelling and double-booking
- Test cases for a doctor going on leave and slots running out
What goes in the report
- System architecture diagram
- API documentation and database design
- Test plan, results and screenshots
Viva questions to prepare
- How is the estimated waiting time calculated?
- What stops two patients booking the same slot?
- Why separate the front end and the API?