Prescripto is a full-stack MERN web application that allows patients to book doctor appointments online. The platform provides separate panels for users, doctors, and administrators, making healthcare appointment management simple and efficient.
The system supports appointment booking, doctor management, secure authentication, and optional payment integration.
- Browse available doctors
- Book appointments online
- Manage personal profile
- View appointment history
- Doctor login dashboard
- Manage appointment schedule
- View patient booking details
- Manage doctors and users
- Monitor appointments
- Platform management dashboard
- React.js
- Vite
- CSS
- Node.js
- Express.js
- MongoDB
- JWT Authentication
- Cloudinary (Image storage)
- Razorpay (Payments – optional)
- Stripe (Payments – optional)
Prescripto
│
├── backend
│ ├── controllers
│ ├── models
│ ├── routes
│ └── server.js
│
├── frontend
│ └── React patient panel
│
├── admin
│ └── React admin dashboard
git clone https://github.com/kaif8077/Prescripto.git
cd Prescripto
Open terminal inside backend folder:
cd backend
npm install
Create a .env file inside the backend folder.
Example .env:
CURRENCY="INR"
JWT_SECRET="your_jwt_secret"
# Admin Credentials
ADMIN_EMAIL="admin@example.com"
ADMIN_PASSWORD="admin_password"
# MongoDB
MONGODB_URI="your_mongodb_connection_string"
# Cloudinary
CLOUDINARY_NAME="your_cloudinary_name"
CLOUDINARY_API_KEY="your_api_key"
CLOUDINARY_SECRET_KEY="your_secret_key"
# Razorpay (Optional)
RAZORPAY_KEY_ID="your_key"
RAZORPAY_KEY_SECRET="your_secret"
# Stripe (Optional)
STRIPE_SECRET_KEY="your_stripe_key"
Run backend server:
npm run server
Backend will start on:
http://localhost:4000
Open terminal inside frontend folder:
cd frontend
npm install
npm run dev
Frontend runs on:
http://localhost:5173
Open terminal inside admin folder:
cd admin
npm install
npm run dev
Admin dashboard runs on:
http://localhost:5174
- Create account on MongoDB Atlas
- Create a new cluster
- Create database user
- Copy connection string
- Add it to
.envasMONGODB_URI
-
Create account at https://cloudinary.com
-
Open Dashboard
-
Copy
- Cloud Name
- API Key
- API Secret
-
Add them in
.env
Create account → get keys → add to .env.
Create account → get secret key → add to .env.
Start servers in this order:
1️⃣ Backend 2️⃣ Frontend 3️⃣ Admin panel
Make sure backend is running before starting frontend or admin.
Mohd Kaif
GitHub https://github.com/kaif8077
LinkedIn https://www.linkedin.com/in/kaif8077/
LeetCode https://leetcode.com/u/kaif807/