Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 Prescripto

Prescripto is a comprehensive web application built with the MERN stack designed to facilitate easy online doctor appointment booking and management. The system empowers patients, doctors, and administrators with distinct roles and capabilities to streamline healthcare appointments, earnings tracking, and platform administration.

✨ Features

  • πŸ“… Patients can register and book appointments with doctors through a simple, intuitive interface.
  • οΏ½ Integrated Stripe Checkout for seamless and secure online payments (Cards, Amazon Pay, UPI, etc., with automatic payment methods).
  • πŸ‘©β€βš•οΈ Doctors have dedicated panels to view, manage appointments, and track earnings efficiently.
  • πŸ› οΈ Admin panel allows adding new doctors, viewing and managing all doctors and appointments, and overseeing platform operations.
  • πŸ” Secure authentication for doctors, patients, and admin users via JWT.
  • πŸ” Search and filter appointments by date, doctor, or status.-
  • πŸ“Š Dashboard providing doctors with their earnings and appointment statistics.

πŸ› οΈ Technologies Used

  • πŸ—„οΈ MongoDB for storing users, doctors, appointments, and earnings data.
  • πŸš€ Express.js for backend REST API development and business logic handling.
  • βš›οΈ React.js for a responsive and user-friendly frontend interface.
  • 🟒 Node.js runtime environment.
  • πŸ’³ Stripe SDK for secure payment processing.
  • πŸ” JWT-based authentication and role-based authorization.

πŸš€ Installation

  1. Clone the repository:

    git clone https://github.com/devanshrajput07/Prescripto.git
    cd Prescripto
  2. Configure environment variables as follows:

    VITE_BASE_URL=""
    VITE_ADMIN_PANEL_URL=""
    PORT=""
    MONGODB_URI=""
    CLOUDINARY_NAME=""
    CLOUDINARY_API_KEY=""
    CLOUDINARY_SECRET_KEY=""
    JWT_SECRET=""
    STRIPE_SECRET_KEY=""
    
  3. Navigate to both server and client directories and install dependencies, then run development servers:

    cd server
    npm install
    npm run dev

    Open a new terminal window, then:

    cd client
    npm install
    npm run dev

    Open a new terminal window, then:

    cd admin
    npm install
    npm run dev

🎯 Usage

  • πŸ§‘β€βš•οΈ Patients register, browse available doctors, book, reschedule, or cancel appointments.
  • πŸ‘©β€βš•οΈ Doctors log in to manage appointments, confirm or cancel bookings, and monitor their earnings through their dashboard.
  • πŸ›‘οΈ Admin users can add new doctors, view all registered doctors and users, and manage appointments via the admin panel.
  • πŸ“… Users can manage appointments easily through the interface, receiving secure notifications and updates.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages