“Sehat hai toh sab kuch hai!”
A full-stack AI-powered healthcare app built with ❤️ using the MERN stack.
Sehat helps users book appointments, manage health records, talk to AI, and even get Telegram reminders for their meds. It’s like having a doctor, pharmacist, therapist, and assistant — all in one tab!
- 🖥️ Frontend: React + Tailwind CSS
- 📦 State Management: Zustand
- 🧠 Backend: Express + Node.js
- 💾 Database: MongoDB
- 🔐 Authentication: JWT
- ☁️ File Uploads: Cloudinary
- 🧠 AI: Gemini API (symptom analysis + AI therapist)
- 📲 Bot Integration: Telegram
- 🔐 Vault: Pinata IPFS + AES Encryption
- Sign up as a 👨⚕️ Doctor or 🧑💼 Patient
- Role-based features and dashboards — no awkward mix-ups!
- Choose doctors manually or let AI suggest based on your symptoms 🧠
- View available slots & book in one click
- Doctors can accept, reject, or mark appointments complete
- Patients can attach reports, images, and more while booking
- Doctors get immediate context = faster diagnosis
- Stored securely using Cloudinary
- Enter your symptoms (e.g., “stomach ache + fatigue”)
- Gemini API suggests a specialization (e.g., Gastroenterologist)
- Perfect for people who Google everything anyway 😅
- A private encrypted vault to store health documents (lab reports, prescriptions, etc.)
- Files are encrypted with a password before upload
- Stored on Pinata (IPFS) — blockchain-style storage
- Only decryptable with your own password 🔓
- Instantly locate verified therapists near you using Google Maps integration
- View profiles, directions, and contact details — all within the app
- Creates personalized healthcare plans based on your data
- Adaptable to your changing health goals
- Answers general wellness queries instantly
- Uses JWT tokens for protected routes and login sessions
- Doctors and patients have separate permissions
- Node.js (v16 or higher)
- MongoDB (local or Atlas)
- API keys for Gemini, Cloudinary, Pinata, and Telegram Bot
- Git
- Clone the repo:
git clone https://github.com/your-username/sehat.git
- Install backend dependencies:
cd backend npm install - Install frontend dependencies:
cd ../frontend npm install - Create
.envfiles:- In
backend/, add:MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret GEMINI_API_KEY=your_gemini_api_key CLOUDINARY_URL=your_cloudinary_url PINATA_API_KEY=your_pinata_api_key - In
frontend/, add:VITE_GOOGLE_MAPS_API_KEY
- In
- Run the backend:
cd backend npm run dev - Run the frontend:
cd frontend npm run dev
sehat/
├── backend/
│ ├── models/ # MongoDB schemas
│ ├── routes/ # API routes
│ ├── controllers/ # Route handlers
│ └── utils/ # Telegram bot & utilities
├── frontend/
│ ├── components/ # Reusable React components
│ ├── pages/ # Page components
│ ├── store/ # Zustand state management
│ └── assets/ # Static files (images, etc.)
Mahi Singh
🎓 Pre-final year @ Visvesvaraya Technological University
Pull requests are welcome — just like healthy habits!
If you’d like to add a feature, open an issue first to discuss it.
This app reminds you to take care of your health — so you don’t need to remember it yourself.
Let your brain rest. Let Sehat do the reminding 😌