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.
- π 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.
- ποΈ 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.
-
Clone the repository:
git clone https://github.com/devanshrajput07/Prescripto.git cd Prescripto -
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="" -
Navigate to both
serverandclientdirectories and install dependencies, then run development servers:cd server npm install npm run devOpen a new terminal window, then:
cd client npm install npm run devOpen a new terminal window, then:
cd admin npm install npm run dev
- π§ββοΈ 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.