HealthHive is a full-stack web application that bridges the gap between patients, doctors, and essential medical services. It supports remote consultations, secure prescription management, and a comprehensive online pharmacy.
- User Registration & Login (Patient/Doctor)
- Doctor Booking & Appointment Scheduling
- Medical Product Catalog with Cart & Checkout
- Prescription Upload & Validation
- Health Record Management (Consultations, Orders)
- Order History & Real-Time Status Tracking
- Secure Profile Access and Management
- Fully Responsive Frontend with Tailwind CSS
| Frontend | Backend | Database |
|---|---|---|
| React | Express | MongoDB |
| Tailwind CSS | Node.js 20+ | Mongoose |
git clone https://github.com/the-great-adee/HealthHive.git
cd healthhivenpm installCreate a .env file in the root folder with the following:
MONGO_URI=mongodb://localhost:27017/db_name
JWT_SECRET=<your-jwt-secret> # generate using backend/jwt_secret_gen.js
[email protected]
APP_PASSWORD=<contact to obtain>Make sure your MongoDB server is running locally:
mongodnpm run devThis will start both backend and frontend concurrently.
Frontend: http://localhost:3000
Backend API: http://localhost:6969
| Command | Description |
|---|---|
| npm run dev | Runs React app and backend server |
| npm run build | Builds React app for production |
| npm start | npm start |
- All protected routes require a valid JWT token (jwtToken stored as a cookie).
- Sensitive actions (cart, orders, profile) are authorization-protected.
- Doctor-only routes are controlled via role-based middleware.
- Auto medicine refill subscriptions
- AI prescription scanner (OCR)
- Video consultation support
- Emergency delivery integration
- Health tracker/device syncing
This project is for educational purposes and part of a Full Stack Web Development academic submission.