Skip to content

................ MERN stack Technology ................

Notifications You must be signed in to change notification settings

surajbhan654/Doctor_apointment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-------------------------------- Technology : MERN stack --------------------------------

Doctor_apointment :

It is a self-service tool for patients to book appointments digitally to related their health issue for a particular clinic and it keeps track of all the info about doctor schedules, patients, and bookings. The purpose of This project is to reduce all the manual effort of staff and patients. this can save both doctors' time and patients' time.

Features

  • User can register and login.
  • You can view all available doctors on the site.
  • You can also update your profile.
  • You can also send your queries to us from the contact section.
  • You can view all your notifications in the notifications tab.
  • There is also an admin managment system.
  • You can only access your notications, profile, appointments, doctor application if you're logged in
  • User can also apply for becoming a doctor on our site.
  • User can book an appointment with the doctor of their own choice.
  • Admin has the control to accept any user's request to become a doctor.
  • Admin can also remove any user or doctor from the site.
  • Doctor and Admin have the control to mark if the appointment is completed.
  • User will recieve notification if their application is accepted or rejected.
  • User and Doctor will recieve notification if their appointment is completed.
  • Doctor will recieve notification if someone booked appointment with them.
  • All the data will be stored on the database so there is no chance of losing you information.

To run the project on your local machine

  1. Download the project from the git repository
  2. Add .env file in root directory for the backend which contains
  3. PORT=4000
    MONGO_URI=YOUR_OWN_MONGODB_URL
    JWT_SECRET=YOUR_JWT_SECRET
    
  4. Add .env file in client directory for the frontend which contains
  5. FIRST CREATE A ACCOUNT ON CLOUDINARY GO https://cloudinary.com/
    
    REACT_APP_SERVER_DOMAIN=http://127.0.0.1:4000/api/user
    REACT_APP_CLOUDINARY_BASE_URL=https://api.cloudinary.com/v1_1/{CLOUD_NAME}/image/upload
    REACT_APP_CLOUDINARY_CLOUD_NAME=YOUR_OWN_CLOUDINARY_CLOUD_NAME
    REACT_APP_CLOUDINARY_PRESET=YOUR_OWN_CLOUDINARY_PRESET_NAME  //For this go to sitting > upload > mode:unsigned > see preset name (https://cloudinary.com/) 
    

    Note: Replace the {CLOUD_NAME} with your own cloudinary cloud name

  6. To run the backend, go to root directory in the terminal and execute: npm start
  7. To run the frontend, open a new terminal and run 'cd client/' to go to client directory and execute: npm start

To access the admin dashboard

  1. Download the project from the git repository
  2. You need to create your own MongoDB instance and add the MongoDB url to the .env file
  3. Register on the website and go to your MongoDB and manually change the 'isAdmin' field of the account you want to make admin in the DB to 'true' and then log in back on the site
  4. Now you will be able to access the admin dashboard

About

................ MERN stack Technology ................

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published