Skip to content

Full-stack medical web app with patient-doctor login, prescription management, and an online pharmacy powered by React, Node.js, and MongoDB

Notifications You must be signed in to change notification settings

aditya-gupta-me/HealthHive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HealthHive – Online Medical Store & Remote Healthcare Platform

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.


Features

  • 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

Tech Stack

Frontend Backend Database
React Express MongoDB
Tailwind CSS Node.js 20+ Mongoose

Installation & Local Setup

1. Clone the Repository

git clone https://github.com/the-great-adee/HealthHive.git
cd healthhive

2. Install Dependencies

npm install

3. Setup Environment Variables

Create 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>

4. Run MongoDB

Make sure your MongoDB server is running locally:

mongod

5. Start the Application

npm run dev

This will start both backend and frontend concurrently.

Frontend: http://localhost:3000

Backend API: http://localhost:6969


Scripts

Command Description
npm run dev Runs React app and backend server
npm run build Builds React app for production
npm start npm start

Security Notes

  • 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.

Future Scope

  • Auto medicine refill subscriptions
  • AI prescription scanner (OCR)
  • Video consultation support
  • Emergency delivery integration
  • Health tracker/device syncing

License

This project is for educational purposes and part of a Full Stack Web Development academic submission.

Note: This project is built on the top of this repo https://github.com/destryptor/OMCS. All the features listed are introduced by our team.

About

Full-stack medical web app with patient-doctor login, prescription management, and an online pharmacy powered by React, Node.js, and MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages