Skip to content

vidhiii1711/Mediverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

63 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Mediverse β€” Your Trusted Healthcare Companion

A full-stack healthcare platform bridging the gap between patients and hospitals through technology.


🚨 Problem Statement

Healthcare management in India remains fragmented and inefficient:

  • Patients lose medical records and forget medications with no centralized system
  • Finding the right hospital based on specialization is time-consuming
  • Hospitals struggle to manage appointments and communicate with patients efficiently
  • There is no single platform where patients and hospitals can interact seamlessly

βœ… How Mediverse Solves It

Mediverse is a role-based healthcare platform with two separate portals:

πŸ‘€ Patient Portal

  • Register & log in securely
  • Book appointments with hospitals by specialization
  • Track and manage medications with reminders
  • Upload and store medical documents securely
  • Get AI-powered health assistance via chat

🏨 Hospital Portal

  • Manage incoming patient appointments (confirm / cancel)
  • Update hospital profile, specializations, and doctor details
  • View patient details for booked appointments

πŸ› οΈ Tech Stack

Layer Technology
Frontend React.js, React Router, CSS
Backend Node.js, Express.js
Database MongoDB Atlas
Authentication JWT (JSON Web Tokens), Passport.js, passport-local-mongoose
AI Chat Integrated AI API
Frontend Hosting Vercel
Backend Hosting Render

🌐 Live Deployment

Link
πŸš€ Live App https://mediverse-sigma.vercel.app
πŸ“¦ GitHub https://github.com/vidhiii1711/Mediverse

⚠️ Note: The backend is hosted on Render's free tier. The first request after a period of inactivity may take 30–60 seconds while the server wakes up. This is expected behavior β€” please wait and try again.


βš™οΈ Local Setup

Follow these steps to run Mediverse on your local machine:

Prerequisites

  • Node.js (v18+)
  • MongoDB (local or Atlas URI)
  • Git

1. Clone the Repository

git clone https://github.com/vidhiii1711/Mediverse.git
cd Mediverse

2. Setup Backend

# From root directory
npm install

Create a .env file in the root directory:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key

Start the backend:

npm start

Backend runs on: http://localhost:5000


3. Setup Frontend

cd Frontend
npm install
npm run dev

Frontend runs on: http://localhost:5173


4. Connect Frontend to Backend

In your frontend API calls, make sure the base URL points to:

http://localhost:5000

In production, this is already set to the Render backend URL.


πŸ“ Project Structure

Mediverse/
β”œβ”€β”€ app.js                  # Express app setup
β”œβ”€β”€ bin/
β”‚   └── www                 # Server entry point
β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ patient.js          # Patient schema
β”‚   β”œβ”€β”€ hospital.js         # Hospital schema
β”‚   └── ...
β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ users.js            # Auth routes (login/register)
β”‚   β”œβ”€β”€ hospitals.js        # Hospital search
β”‚   β”œβ”€β”€ appointments.js     # Patient appointments
β”‚   β”œβ”€β”€ medications.js      # Medication tracking
β”‚   β”œβ”€β”€ documents.js        # Document management
β”‚   └── ...
β”œβ”€β”€ Frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ pages/          # Login, Register, Dashboard, etc.
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable UI components
β”‚   β”‚   └── App.jsx
β”‚   └── package.json
└── package.json

πŸ” Environment Variables

Variable Description
MONGO_URI MongoDB Atlas connection string
JWT_SECRET Secret key for JWT token signing

✨ Key Features

  • πŸ” Secure Auth β€” Role-based login for patients and hospitals using JWT
  • πŸ“… Appointment Booking β€” Patients book, hospitals confirm or cancel
  • πŸ’Š Medication Tracker β€” Mark medications as taken, track history
  • πŸ“„ Document Storage β€” Upload and manage medical records
  • πŸ€– AI Health Chat β€” AI-powered assistant for health queries
  • πŸ₯ Hospital Discovery β€” Find hospitals by specialization and area

πŸ™Œ Author

Vidhi β€” GitHub


Built with ❀️ to make healthcare more accessible and organized.

About

πŸ₯ AI-powered medical platform connecting patients with doctors, appointment booking, and health records β€” all in one place.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages