The following project contains simulation on a Database management system of a hospital on 3 levels-
- User level (A web application for the doctors and staff to look at the data)
- Logical Level (Actual Running of the SQL queries and their optimzation and performance)
- Physical Level (Simulation of actual database and its performance via hashing and indexing)
clone the repository and run the following commands in the terminal
git clone https://github.com/JahnabDutta/hospital-management.git
The user level is a web application which is built using Django. The web application is hosted on a local server.
- Django
- HTML
- CSS
- Bootstrap
- Python 3.6 or above
- Install virtualenv using
pip install virtualenv
- Create a virtual environment using
virtualenv venv
- Activate the virtual environment using
source venv/bin/activate
- Install the requirements using
pip install -r requirements.txt
- Navigate to the directory
cd user_level
- Run the following commads
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- Open the link in the browser
The logical level is a query level simulation of the database management system of a hospital. The queries are run on a sample dataset and the performance is measured.
- c++
- SQL
- gcc c++ compiler
- Navigate to the directory
cd logical_level
- Run the following commands
g++ -o hospital_project hospital_project.cpp
./hospital_project
The physical level is a simulation of the doctors table management system of a hospital. The queries are run on a sample dataset and the performance is measured.
- c++
- gcc c++ compiler
- Navigate to the directory
cd physical_level
- Run the following commands
g++ -o doctors doctors.cpp
./doctors
Upon prompt, enter the commands to view the simulation in action.
- Jahnab Dutta (B20CS091)
- Nitya Anand Shah (B20CS039)