- Open https://github.com/kashvi05/Hospital-Management-System.git
- Fork the repository
- Open terminal/git bash in your system.
- Clone the repository locally.
- Open the cloned repository in any IDE.
- Open Hospital-Management-System\hospitalapi\hospitalapi\settings.py
- In settings.py file, make the following changes in DATABASES: 'ENGINE': 'django.db.backends.mysql', 'NAME': 'hospital_management_system', 'USER': 'root', 'PASSWORD':'' 'HOST':'localhost', 'PORT':'3306', 'OPTIONS':{ 'init_command':"SET sql_mode='STRICT_TRANS_TABLES'" }
- Open MYSQL
- Run ‘Hospital.sql’ in MYSQL database.
- Open terminal
- cd Hospital-Management-System
- run python manage.py migrate
- run python manage.py makemigrations
- run python manage.py runserver
Entity Relationship Model
Glimpse of Tables:
- Patient Table
- Appointment Table
Adding Integrity Constraints:
CRUD Operations:
Stored Procedures:
Stored Functions:
Please find the details and pictures of the entire project in the file attached: