NITMedi is a full-stack Medical Center Management System developed for NIT Meghalaya.
It enables administrators and consultants (doctors/nurses) to manage patient records, consultations, and medicines in a secure, professional, and efficient way.
The project is built using:
- Frontend: HTML, CSS, JavaScript
- Backend: PHP (PDO for secure database interactions)
- Database: MySQL
- Manage students, teachers, and staff (Add / Update / Delete)
- Manage medicine inventory (Add / Update / Delete)
- View consultation records
- Manage patient consultations
- Add consultation notes, diagnosis, and prescribed medicines
- Automatically calculate medicine totals
Stores login credentials and role-based access for Admin and Consultant users.
Stores student, teacher, and staff details.
Stores consultation records linked to patients and consultants.
Stores medicine details including stock quantity and pricing.
Links consultations with prescribed medicines and quantities.
Make sure you have the following installed:
- PHP >= 8.0
- MySQL >= 5.7
- Apache / Nginx Server (XAMPP, LarTgon, or WAMP recommended)
- Git
git clone https://github.com/your-username/NITMedi.git
cd NITMediCopy the example config file:
cp db/config.example.php db/config.phpThen edit config.php and update your MySQL credentials:
- Database name
- Username
- Password
Import the SQL file provided in:
/db/schema.sqlinto your MySQL database.
Start your local server (XAMPP / Laragon / WAMP) and open:
http://localhost/medical_center/
NITMedi/
│
├── admin/ # Admin panel pages
├── consultant/ # Consultant dashboard
├── db/ # Database configuration and schema
│ ├── config.php # Actual DB config (not pushed to GitHub)
│ └── config.example.php # Example config (safe for GitHub)
│
├── includes/ # Shared helper functions
├── index.php # Landing page with role selection
├── dashboard.php # Main Consultant/Admin dashboard
└── README.md # Project documentation
- Never push
db/config.phpto GitHub - Only
config.example.phpshould be included in the repository - Passwords should always be hashed using
password_hash() - Use prepared statements (PDO) to prevent SQL injection attacks
git checkout -b feature-nameUse clear and meaningful commit messages.
Push your branch and open a Pull Request.
This project is licensed under the MIT License.
Developed for NIT Meghalaya as a Medical Center Management System project.