Built to order

Online Hospital Bed Availability Search Web App with Ward-wise Live Status

This project builds an Online Hospital Bed Availability Search Web App with Ward-wise Live Status using HTML, CSS, JavaScript, Node.js and MySQL, letting families search nearby hospitals and see exactly how many General, ICU, Emergency and Paediatric beds are free right now. Hospital staff update bed counts from their own panel, the public page refreshes every 30 seconds, and a visitor can hold a bed for 30 minutes while travelling. Suitable for B.E./B.Tech final-year projects in Computer Science, IT and Web Development.

Chat on WhatsApp — get a quotation

Web Development GitMySQLHTML5 · CSS3 · JavaScriptNode.js · ExpressXAMPP · ApacheREST API JSONFetch polling 30-second refreshSession-based staff loginSoftware
Online Hospital Bed Availability Search Web App with Ward-wise Live Status — project thumbnail preview
More project photos (2)

The problem

Finding a hospital bed during an emergency usually means calling hospital after hospital, because no single place shows which beds are actually free right now. Families phone reception desks, hear "call back later", and drive between hospitals while a patient's condition worsens, and the information they get is already out of date by the time they arrive. This Online Hospital Bed Availability Search Web App with Ward-wise Live Status removes that guessing by putting ward-wise bed counts from nearby hospitals on one searchable page. A family can search by area, hospital, ward and bed type, see exactly how many General, ICU, Emergency and Paediatric beds are free, and hold a bed for 30 minutes while travelling. Hospital staff update the counts from their own panel the moment a bed is occupied or vacated, and the public page refreshes every 30 seconds, so the number on screen is never more than one refresh cycle old.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
userHospital Staff

Marks beds occupied or free in the staff panel.

Follow the working sequence

How it works

A family opens the app and searches by area or hospital name, then narrows the results by ward and bed type — for example, an ICU ventilator bed in Kothrud. The app reads the latest bed counts that hospital staff entered, shows free beds against total beds for each of the 4 wards, and sorts the nearest hospitals with beds free to the top. When the family picks a hospital, they open its bed-detail view, choose a ward and bed type, and place a 30-minute hold with the patient name and mobile number; the hold is recorded with an expiry time and the free-bed count drops by one. Meanwhile, ward staff update counts from their own panel whenever a bed is occupied, vacated or cleaned, and the public page re-fetches the numbers every 30 seconds, so a hold that expires or a bed that frees up is visible to the next searcher within one refresh cycle.

  1. The visitor searches by hospital name or area and filters by ward (General, ICU, Emergency, Paediatric) and bed type (Normal, Oxygen, Ventilator, Isolation).
  2. The backend queries the MySQL database for the latest staff-entered bed counts and returns free beds against total beds for each of the 4 wards per hospital.
  3. Results are sorted by most beds free, nearest first or name, and each hospital card shows a colour-coded availability bar per ward.
  4. The visitor opens a hospital's bed-detail view, picks a ward and bed type, and submits a hold with the patient name and a 10-digit mobile number.
  5. The server validates the number, records the hold with a 30-minute expiry and a hold ID, and reduces the free-bed count by 1 for that ward.
  6. Ward staff update bed counts from the staff panel whenever a bed is occupied, vacated or cleaned, and each change is timestamped.
  7. The public page re-fetches availability every 30 seconds, so expired holds release their beds and newly freed beds appear within one refresh cycle.

Tech stack:

  • HTML5 · CSS3 · JavaScript
  • Node.js · Express
  • MySQL
  • REST API · JSON
  • Fetch polling · 30-second refresh
  • Session-based staff login
  • Git
  • XAMPP · Apache

Requirements

  • Runtime: Node.js (version 18 or above) with MySQL (version 8 or above), or XAMPP with Apache and MySQL for a local demo setup.
  • Browser: Any modern browser (Chrome, Edge or Firefox) on desktop or mobile; no app install is needed.
  • For staff use: One staff login per hospital, created by the admin; staff need only a browser and the hospital's ward list.
  • For deployment: A shared hosting account or VPS with Node.js and MySQL support, plus a domain name for the public search page.
Parameter Value
Hospitals in demo dataset 6 hospitals (sample data)
Wards tracked per hospital 4 wards (General, ICU, Emergency, Paediatric)
Total beds in demo dataset 873 beds (sample data)
Free beds in demo dataset 198 beds free (sample data)
Auto-refresh interval 30 seconds (design target)
Bed-hold duration 30 minutes (design target)
Hold limit 1 active hold per phone number (design target)
Mobile number validation 10 digits, starting 6–9 (Indian mobile format)
Pages 3 views (search, bed detail, staff panel)
Data source Staff-entered counts (no real hospital integration)

Project features

The strongest parts of this build are the ward-wise live status that shows free beds per ward instead of one vague hospital total, the search and filters that narrow results by area, ward and bed type, the 30-minute bed-hold flow that reserves a bed while a family travels, and the staff update panel that keeps the public numbers honest. Together they cover the whole journey: a worried family finds a bed, holds it, and arrives to a bed that is still theirs, while hospital staff change one number in one place and every visitor sees it within 30 seconds. The remaining features support that journey — automatic refresh so nobody stares at stale counts, a requests view that tracks active holds, and a clean mobile-first layout, because this search almost always happens from a phone in a hospital corridor. No feature here depends on a real hospital system; the demo runs on staff-entered sample data.

  • [Ward-wise live bed status] Every hospital card breaks availability down by General, ICU, Emergency and Paediatric wards, showing free beds against total beds with a colour-coded bar, so a family sees the exact ward they need instead of one misleading hospital total.
  • [Search and filters] Search by hospital name or area and filter by ward, bed type (Normal, Oxygen, Ventilator, Isolation) and availability, with sorting by most beds free, nearest first or name, so the nearest usable bed surfaces in seconds.
  • [30-minute bed-hold flow] A visitor picks a ward and bed type, enters the patient name and a 10-digit mobile number, and receives a hold ID; the hold expires automatically after 30 minutes and the bed returns to the available pool.
  • [Staff update panel] Ward staff raise or lower the free-bed count with one tap the moment a bed is occupied or vacated, and each change is timestamped, so the public page never depends on a phone call to the reception desk.
  • [Automatic 30-second refresh] The public page re-fetches availability every 30 seconds and shows a countdown to the next refresh, so the count on screen is never more than one refresh cycle old.
  • [My requests tracking] Active holds are listed with their hospital, ward, bed type and expiry, so a family can check a hold without calling the hospital again.
  • [Mobile-first responsive layout] The search, hospital cards and hold form are designed for phone screens first, because bed searches in an emergency almost always happen from a mobile phone.

What is included

  • Complete web app source code (frontend + Node.js backend + MySQL schema with sample data for 6 hospitals)
  • Working demo with search, filters, ward-wise status, bed-hold flow and staff update panel
  • Database setup script and sample hospital/ward/bed data
  • Project report PDF (background, problem, methodology, system design, screenshots, limitations)
  • PPT presentation for final review
  • Viva Q&A preparation document (web architecture, REST APIs, database design, polling vs WebSockets, session handling)

Timeline

  • Week 1: Requirement study, database design (hospitals, wards, beds, holds, staff) and UI wireframes.
  • Week 2: Public search page with ward-wise cards, filters and sorting.
  • Week 3: Bed-hold flow with validation and expiry, plus the staff update panel and login.
  • Week 4: Auto-refresh, requests tracking, testing on mobile and desktop, report and PPT.

Support

  • Setup guidance for running the app locally with Node.js and MySQL or XAMPP.
  • 30 days of bug-fix support after delivery for issues in the delivered code.
  • Guidance on adding one extra module (such as SMS confirmation or a hospital onboarding form) as a paid customization.

Limitations & prerequisites

  • The app shows counts that hospital staff enter by hand; it is NOT connected to any real hospital management system, so a count is only as current as the last staff update.
  • This is an academic prototype, not a certified medical or emergency-dispatch system; it must never be presented as a guarantee that a bed will be available on arrival.
  • Bed holds are time-limited to 30 minutes (design target) and expire automatically; the app does not admit patients or replace the hospital admission desk.
  • SMS confirmation is optional and needs a paid SMS gateway account; the base build confirms holds on screen with a hold ID only.
  • The demo dataset covers 6 sample hospitals in one city; adding a new city means entering its hospitals and wards, which is a data-entry task, not a code change.
  • Availability shown is a snapshot at the last 30-second refresh; a bed can be taken between refreshes, so the hold step is what actually reserves it.
  • No payment gateway is included; hospitals are listed free and there is no booking fee in the base build.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes, it is suitable for final-year students in Computer Science, IT and Web Development, because it demonstrates full-stack web development end to end: database design, REST APIs, authentication, form validation and a real user workflow that solves a problem every family understands. It also gives a strong viva story, since most students have seen a family struggle to find a hospital bed in an emergency.

Does the app connect to real hospitals?

No, it does not connect to any real hospital system. Hospital staff enter bed counts by hand in the staff panel, and the public page shows exactly those entered counts, refreshed every 30 seconds, with no live feed from any hospital system. That is an honest limit of the student build, and connecting to a real hospital management system is listed as future scope, not claimed as implemented. A hospital that wants live integration would need to give the project access to its own bed-management system, which is a separate integration task.

How does the bed-hold feature work?

A visitor picks a ward and bed type, enters the patient name and a 10-digit mobile number, and receives a hold ID. The bed is reserved for 30 minutes while the family travels, then the hold expires automatically and the bed returns to the available pool. Only one active hold is allowed per phone number at a time. The hold is what actually reserves the bed — the availability count alone does not.

How fresh is the bed availability shown?

The public page re-fetches counts every 30 seconds, so the number on screen is at most one refresh cycle old, and a countdown shows when the next refresh happens. Freshness still depends on staff updating the panel promptly, since the app cannot know about a bed that nobody has marked occupied or free. In practice the ward desk, not the software, sets the real freshness.

Can it be hosted online?

Yes, it can be hosted on any shared hosting account or VPS that supports Node.js and MySQL, with a domain name for the public search page. The same build also runs locally with XAMPP, so a college demonstration works without internet or a paid server. Setup guidance for both options is included in the deliverables.

What can be customized in this project?

Extra wards, bed types or cities can be added through the database without code changes, since hospitals and wards are data, not hard-coded screens. SMS confirmation, a hospital onboarding form, map-based directions and a Hindi/Marathi interface can be added as paid customizations, and the report and PPT are adjusted to the student's college format. Tell us the college format before delivery and the documents are prepared to match.

Components & software requirements
  • HTML5 · CSS3 · JavaScript
  • Node.js · Express
  • MySQL
  • REST API · JSON
  • Fetch polling · 30-second refresh
  • Session-based staff login
  • Git
  • XAMPP · Apache

Requirements

  • Runtime: Node.js (version 18 or above) with MySQL (version 8 or above), or XAMPP with Apache and MySQL for a local demo setup.
  • Browser: Any modern browser (Chrome, Edge or Firefox) on desktop or mobile; no app install is needed.
  • For staff use: One staff login per hospital, created by the admin; staff need only a browser and the hospital's ward list.
  • For deployment: A shared hosting account or VPS with Node.js and MySQL support, plus a domain name for the public search page.
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation