https://github.com/antoniakras/emergency-room-management
Java web app with Servlets, JDBC, and SQL, deployed on Tomcat. Includes REST-style endpoints, complex SQL queries and E-R diagrams.
https://github.com/antoniakras/emergency-room-management
apache-tomcat-9 java javascript jdbc rest-api servlets sql webapp
Last synced: about 1 month ago
JSON representation
Java web app with Servlets, JDBC, and SQL, deployed on Tomcat. Includes REST-style endpoints, complex SQL queries and E-R diagrams.
- Host: GitHub
- URL: https://github.com/antoniakras/emergency-room-management
- Owner: antoniakras
- Created: 2025-08-25T13:10:40.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-20T12:16:48.000Z (9 months ago)
- Last Synced: 2026-05-03T15:39:37.770Z (about 1 month ago)
- Topics: apache-tomcat-9, java, javascript, jdbc, rest-api, servlets, sql, webapp
- Language: Java
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emergency Room (ER) Management System
---
## 🏥 About
This project demonstrates the design and implementation of a **Java web application using Servlets, JDBC, and SQL** . It follows a **REST-style architecture**, exposing endpoints for data management and interaction with a relational database, deployed on an **Apache Tomcat container**.
Emergency Room (ER) Management System built with **SQL and E-R schema modeling**, designed to track patients, doctors, visits, examinations, prescriptions, and personal medical history. The system provides a **comprehensive backend** for hospital operations, including patient re-examinations, medication tracking, test results, and special conditions (e.g., COVID-19).
This project highlights skills in **backend development, normalized schema design, complex SQL queries, and real-world hospital workflow modeling**.
---
## đź“‚ Features & Highlights
- **Java Servlets Backend** – Handles requests and implements business logic via REST-style API endpoints.
- **Relational Database Integration** – Uses JDBC with a normalized SQL schema to manage patients, doctors, visits, examinations, prescriptions, and medical history.
- **E-R Diagram Design** – Models hospital ER workflow with entities, relationships, keys, and constraints.
- **Complex SQL Queries & Analytics** – Multi-table JOINs, nested subqueries, GROUP BY + HAVING for advanced reporting (top doctors, frequent patients, COVID-19 cases), and referential integrity checks.
- **Patient History Management** – Fetches past visits, tests, and prescribed medications, including re-examinations.
- **Deployment** – Fully configured for Apache Tomcat.
---
## 🛠️ Setup & Run
1. Import the SQL schema in your preferred relational database (MySQL/PostgreSQL).
2. Populate sample data using provided SQL scripts in the `/db` folder.
3. Connect Java backend or query via SQL client to run queries and test functionality.
---
## 📊 Database Design
* Entity–Relationship Diagram (E-R) included to illustrate schema.
* Schema covers entities, relationships, keys, and constraints.
* Showcases normalization and mapping to SQL.