Skip to content

bnithin215/Hospital-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Hospital Management System

A full-stack web application for managing hospital operations including Patients, Doctors, and Appointments. Built with React.js for the frontend and Node.js + Express + MongoDB for the backend.


🚀 Features

  • Patient Management

    • Add, edit, delete patients
    • View patient details
  • Doctor Management

    • Add, edit, delete doctors
    • View doctor details and specialties
  • Appointment Management

    • Schedule new appointments
    • Edit and delete appointments
    • View all appointments with patient and doctor information
  • Responsive UI

    • Clean and modern interface
    • Interactive cards for Patients, Doctors, and Appointments

🛠️ Tech Stack

  • Frontend: React.js, CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose)
  • HTTP Client: Axios
  • Routing: React Router
  • CORS: Enabled for frontend-backend communication

📂 Folder Structure

Hospital-Management/ │ ├─ Backend/ │ ├─ models/ # Mongoose schemas │ ├─ routes/ # API routes for Patients, Doctors, Appointments │ ├─ .env # Environment variables (Mongo URI, PORT) │ └─ server.js # Express server entry │ ├─ Frontend/ │ └─ myapp/ │ ├─ src/ │ │ ├─ components/ # React components │ │ ├─ App.js │ │ ├─ App.css │ │ └─ index.js │ └─ public/ │ └─ index.html │ ├─ .gitignore └─ README.md


⚙️ Installation

Backend

cd Backend
npm install



🔗 API Endpoints

Patients

GET /patients

POST /patients/add

POST /patients/update/:id

DELETE /patients/delete/:id

Doctors

GET /doctors

POST /doctors/add

POST /doctors/update/:id

DELETE /doctors/delete/:id

Appointments

GET /appointments

POST /appointments/add

POST /appointments/update/:id

DELETE /appointments/delete/:id

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors