Med-ify is a full-stack, three-tier hospital management system designed to streamline key clinical and administrative tasks through an integrated, data-driven approach. In many healthcare settings, information such as patient records, doctor assignments, appointments, and prescriptions is spread across multiple platforms or handled manually, creating inefficiencies and increasing the risk of error.
Med-ify addresses these challenges by centralizing all essential data within a PostgreSQL database and providing a web-based interface for tasks like patient registration, appointment scheduling, and prescription management. Built with Java Database Connectivity (JDBC) and grounded in a clear three-tier architecture, the application demonstrates how modern healthcare systems depend on reliable data storage, retrieval, and update operations to support accurate, efficient, and secure hospital workflows.
Set up the Med-ify project structure and configure the local Tomcat Server for deployment.
- Java
- PostgreSQL
- Apache Tomcat 10.1.49 https://tomcat.apache.org/download-10.cgi
- Apache Maven 3.9.11
- IDE: IntelliJ
git clone https://github.com/lexinejazly-asuncion/CS157A-Med-ify.git cd Med-ify
Go to File --> Project Structure
Under Project Settings --> Project:
- Set Project SDK to a version that supports SDK 23
- Set Project language level to SDK default
Go to Build --> Build Project
Go to Current File --> Edit Configurations
Click the + sign to Add New Configuration
Select Tomcat Server --> Local
Select Apache Tomcat installation directory
Go to Deployment tab
Click the + sign
Select Artifact --> Med-ify:war exploded
Change the Application context field to: /Med_ify
Click Apply, then OK
Before running the application, update the database connection:
First connect to a PostgreSQL server, then create a database
Go to the database connection file: src/main/java/medify/DBConnection/DatabaseConnection.java
Update the url, user, and pass variables with your local database information
Save the file
Before running the application, create tables and insert data entries:
Go to the database initialization file: src/main/java/medify/DBConnection/DatabaseInitializer.java
Run Current File to populate the database
Run the application with Tomcat Server 10.1.49 configuration