Sanjeevani
The pulse of your perfect adherence
Created on 11th October 2025
โข
Sanjeevani
The pulse of your perfect adherence
The problem Sanjeevani solves
๐ Sanjeevani โ Your AI-Powered Health Companion
Sanjeevani is an intelligent medication and healthcare management platform that helps users manage medicines, compare prices, locate nearby pharmacies or hospitals, and receive AI-powered reminders and insights โ all in one place.
๐ The Problem Sanjeevani Solves
Managing health routines, remembering medicines, and finding trusted medical services can be overwhelming โ especially for patients managing chronic conditions.
Sanjeevani bridges this gap by offering:
- ๐ Smart Reminders โ Never miss your medicines again.
- ๐ฐ Price Comparison โ Find the most affordable pharmacies online.
- ๐ฅ Nearby Services โ Instantly locate hospitals, pharmacies, and diagnostics.
- ๐ค AI Chatbot โ Get instant health-related assistance.
- ๐ Health Summarizer โ Summarize long prescriptions or chat data instantly.
- ๐จโโ๏ธ Profile & Analytics โ Track your routine and missed doses.
โ๏ธ Technologies Used
- Frontend: React.js, TailwindCSS
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ORM)
- Authentication: JWT + Cookies
- Real-Time Communication: Socket.io
- AI Integration: Custom AI & LSTM model
- APIs Used: Google Maps API (for nearby healthcare), PharmEasy / Apollo APIs (for price comparison)
๐ง Key Features (with Screenshots)
๐ Homepage
- Central dashboard to access all modules.
- Displays user summary, upcoming reminders, and navigation links.
- Clean, modern UI for better usability.

๐ Login Page
- Secure authentication with proper validation.
- Cookie-based sessions for smooth login persistence.
- Responsive design across devices.

๐ฐ Medicine Price Comparison
- Compare medicine prices from multiple pharmacies.
- Integrated with APIs for real-time cost and availability.
- Saves users time and money.

๐ Manage Medicines (Add / Edit / Delete / Mark Taken or Missed)
- Add medicines with dosage, frequency, and time.
- Track daily intake โ mark doses as Taken or Missed.
- AI learns from your behavior to send adaptive reminders.
- Simple table + modal interface for ease of use.

๐ Locate Nearby Pharmacies & Hospitals
- Choose based on your preference (hospital, clinic, pharmacy).
- Uses Google Maps API to show distance & directions.
- Filters available for rating and specialty.




๐ค AI Chatbot
- Chatbot trained on medical-related data to assist users.
- Helps with dosage queries, prescription help, and health guidance.
- Learns user intent to provide personalized support.

๐งพ Health Summarizer
- Summarizes prescription or conversation data.
- Uses AI models for key insight extraction.
- Provides short, actionable summaries.

๐ฌ Chat History
- Stores userโs chat with the AI securely.
- Users can revisit old medical conversations anytime.

๐ค Profile Page
- User details, preferences, and reminder history.
- Simple design for profile updates and overview.

๐งฌ Predictive Reminder System (AI-LSTM Model)
- LSTM model trained on previous 7 days of user data.
- Predicts probability of missing medicine.
- Sends extra reminders to users who frequently skip doses.


-## ๐ฎ Future Enhancements
- Integrate wearable data (Fitbit / Smartwatch) for better tracking.
- Voice-based medicine reminders.
- Enhanced chatbot with multilingual medical support.
- Community health forum for user interaction.
๐ป Project Setup
Clone Repository
git clone https://github.com/BhaskarChhabra/Sanjeevani.git
cd Sanjeevani
Challenges we ran into
๐ก What We Learned
Working together on Alchemistโs Grimoire (Sanjeevani) was a journey packed with creativity, debugging, and a ton of learning.
Every team member contributed unique skills โ and together, we learned much more than any tutorial could ever teach.
๐ง 1. Real-World API Integration
We learned how to connect multiple third-party APIs โ like Google Calendar, OpenAI, and Resend โ and manage authentication, rate limits, and response handling efficiently.
This gave us real exposure to backend orchestration and secure environment handling using .env files.
โ๏ธ 2. Collaboration & Git Workflow
Working as a team taught us how to properly use Git branches, pull requests, and conflict resolution.
We also realized the importance of writing clean commits and syncing regularly to avoid merge chaos โ a lesson every developer must learn the hard way ๐
.
๐จ 3. UI/UX & Responsive Design
Designing a medical interface that feels calm, clean, and trustworthy was a creative challenge.
We learned how to use Tailwind CSS, responsive grids, and subtle animations to make the user experience both functional and delightful.
๐ค 4. Handling AI Context & State
We deepened our understanding of state management in AI-powered chat systems.
Learning how to preserve context, manage tokens, and balance performance helped us make the chatbot more human-like and practical.
๐๏ธ 5. Database Modeling & Data Flow
Building schemas for users, medications, and adherence logs in MongoDB taught us a lot about relational logic in a NoSQL system.
We explored Mongoose models, schema validation, and learned to maintain data consistency even during complex updates.
๐งฉ 6. Debugging Under Pressure
Hackathon time limits really tested our debugging skills.
From 500 Internal Server Errors to frontend state glitches, every bug pushed us to think methodically, document properly, and stay calm under pressure.
๐ 7. End-to-End Deployment
We learned how to deploy a Node.js + React stack seamlessly using Vercel for frontend and Render for backend โ configuring build commands, environment variables, and API routing in production.
๐ฑ Final Reflection
We started this project as a group of individuals, but ended as a team that could take an idea from concept to a working prototype in record time.
Beyond the code, the biggest thing we learned was collaboration, resilience, and creative problem-solving.
Tracks Applied (1)
Ethereum Track
ETHIndia
Technologies used
