DocSpot is a full-stack web application that enables customers to book appointments with doctors, manage their bookings, and receive reminders. Doctors can manage their schedules, while admins can approve or reject doctor registrations.
Developed as part of the SmartBridge program, this project aims to simplify and digitize healthcare appointment management.
(Here are the relevant screenshots of user dashboard, doctor listing, booking form, admin panel, etc.)
- Register and log in securely
- Search for doctors by name or specialization
- Book, reschedule, or cancel appointments
- View past appointments and submit doctor ratings
- OTP-based password recovery
- View and manage upcoming appointments
- Accept, reject, or mark appointments as completed
- View patient details and history (future scope)
- Review pending doctor registrations
- Approve or reject doctors with one click
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Backend | Node.js, Express.js |
| Database | MongoDB, Mongoose |
| Email OTP | Nodemailer (Gmail SMTP) |
| Deployment | (Add once hosted) |
/public
/css → Individual CSS files for each page
/js → JavaScript files for page-specific logic
/backend
/routes → Express route handlers (auth, user, appointments)
/models → Mongoose schemas (User, Appointment)
/utils → Email utility for OTP handling
index.html
login.html
register.html
customer-dashboard.html
doctor-dashboard.html
admin-dashboard.html
book-appointment.html
booking-history.html
- User Registration/Login
- Browse Doctors → Filter by availability/specialty
- Book Appointment → Upload documents
- Doctor Confirms → User Notified
- Appointment Conducted
- Post-visit Summary Sent
- Users can register as customers or doctors
- Admin account is created manually (secured & hidden from registration)
- Role-based redirection on login
- OTP-based password recovery with 10-minute expiry
Each appointment has a status:
pendingacceptedrejectedcancelledcompleted
Customers and doctors see appropriate views and actions based on these statuses.
Customers can:
- View past appointments
- See status tags
- Submit 1–5 star ratings for doctors
- Minimal and clean layout
- Fully responsive for mobile and desktop
- Consistent color palette (healthcare-friendly teal/blue theme)
- Each page styled with its own separate CSS
- 🗓️ Appointment Slot Management
- 📩 Notification System (SMS/Email)
- 📊 Admin Analytics Dashboard
- 📄 PDF Summary for Appointments
- 💬 Chat or Review System
- 🔴 Real-time chat between doctor and patient
- 📲 Mobile App Integration using React Native
- 🧠 AI-based doctor recommendation engine
- 📆 Google Calendar sync for doctors
-
Clone the repo
git clone https://github.com/yourusername/docspot.git cd docspot -
Install dependencies
npm install
-
Set up
.envMONGO_URI=your_mongodb_connection_string EMAIL_USER=your_email@example.com EMAIL_PASS=your_app_password
-
Start the server
npm start
-
Open
index.htmlin your browser to use the frontend.
- SmartBridge for providing mentorship and opportunity
- MongoDB, Express, Node.js, and for technology inspiration
This project is licensed under the MIT License.
We welcome contributions! Please fork the repository, make your changes, and submit a pull request.
Make sure to follow the contribution guidelines and write clean, well-documented code.
Have questions or want to collaborate?
📬 Email: chintharavikumar9908@gmail.com
🌐 GitHub: CHINTA RAVI KUMAR
