Prescripto is a comprehensive healthcare appointment booking system that connects patients with trusted doctors. This project consists of three main components: a frontend for patients, an admin panel, and a backend server.
- User registration and authentication
- Doctor search and appointment booking
- User profile management
- Doctor dashboard for managing appointments
- Admin panel for managing doctors and appointments
- Secure payment integration with Razorpay
- Frontend: React.js, Tailwind CSS
- Admin Panel: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JSON Web Tokens (JWT)
- File Storage: Cloudinary
- Payment Gateway: Razorpay
- Node.js (v14 or later)
- MongoDB
- Cloudinary account
- Razorpay account
- Clone the repository:
git clone https://github.com/tusharpardhe2018/Doctor-Patient-Portal.git
- Navigate to the project directory:
cd prescripto
- Install dependencies for all components:
cd frontend && npm install cd ../admin && npm install cd ../backend && npm install
- Set up environment variables:
Create `.env` files in the `frontend`, `admin`, and `backend` directories with the necessary environment variables (refer to the sample.env files in each directory).
- Start the development servers:
In the backend directory npm run server In the frontend directory npm run dev In the admin directory npm run dev
/frontend
: React.js frontend for patients/admin
: React.js admin panel for managing doctors and appointments/backend
: Node.js/Express.js server/backend/models
: MongoDB schema definitions/backend/controllers
: Request handlers/backend/middleware
: Custom middleware functions
/api/user
: User-related endpoints (registration, login, profile management)/api/doctor
: Doctor-related endpoints (list, availability, appointments)/api/admin
: Admin-related endpoints (add/manage doctors, view appointments)
The project is set up for deployment on Vercel. Refer to the vercel.json
file in the backend directory for configuration details.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.