Skip to content

hrishishj/Appointment-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctor's Appointment Management System

Welcome to the Doctor's Appointment Management System! This is a comprehensive web application built using the MERN stack (MongoDB, Express.js, React.js, Node.js) for handling appointment scheduling, patient management, and doctor-patient interaction. The application allows users to book, manage, and track appointments, view prescriptions, and perform other essential healthcare management tasks.


🛠️ Tech Stack

  • Frontend: React.js, TailwindCSS, DaisyUI
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)
  • Real-time Communication: Socket.io (for real-time updates)
  • State Management: React Context API, Zustand
  • Others: MongoDB Atlas, Bcrypt.js, Cors

📋 Features

  • Authentication & Authorization: Secure login and registration for Patients, Doctors, and Admin with JWT
  • Role-Based Access: Dashboards and permissions based on role (Patient, Doctor, Admin)
  • Appointment Booking: Patients can book appointments with doctors
  • Appointment Management: Doctors can approve/reject/manage appointments
  • Prescription Management: Doctors can issue and patients can view prescriptions
  • Real-Time Notifications: Updates using Socket.io
  • Responsive UI: Built with TailwindCSS and DaisyUI
  • Admin Dashboard: Admin can manage users and system-wide data

🛠️ Installation & Setup

1. Clone the Repository

git clone https://github.com/hrishishj/Appointment-Application.git
cd Appointment-Application

2. Install Backend Dependencies

cd backend
npm install

3. Install Frontend Dependencies

cd frontend
npm install

4. Set up Environment Variables

Create a .env file in the backend folder and add:

PORT=5000
MONGO_DB_URI=your-mongodb-uri
JWT_SECRET=your-secret-key
NODE_ENV=development

Create a .env file in the frontend folder and add:

REACT_APP_API_URL=http://localhost:5000

5. Start the Application

Start the backend server:

cd backend
npm start

Start the frontend application:

cd frontend
npm start

Visit: http://localhost:3000


📱 Roles & Functionalities

👨‍⚕️ Doctor

  • Manage appointments
  • Approve/reject bookings
  • Create prescriptions

🧑‍💼 Patient

  • Book appointments
  • View appointment status
  • View prescriptions

🛡️ Admin

  • Manage doctors & patients
  • View system data
  • Handle appointments globally

🧠 Future Enhancements

  • 💬 Live chat between doctors and patients
  • 📞 Video call consultations
  • 📊 Analytics for admin
  • 📱 Mobile version/app

🤝 Contributing

We welcome contributions!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🙏 Acknowledgements


Happy coding! 🚀



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages