MediRecommend is a smart healthcare recommendation platform built using Next.js and Google Maps API. It helps users find nearby hospitals and suitable doctors based on their symptoms and location.
The platform simplifies healthcare discovery by combining geolocation services, medical data, and intelligent analysis.
MediRecommend allows users to:
- Enter their symptoms for analysis
- Receive department recommendations
- Select their current or manual location
- View nearby hospitals sorted by distance
- Access hospital details and ratings
- Find relevant doctors
It reduces the time and confusion involved in choosing appropriate medical services.
- Frontend: Next.js (React)
- Backend: Next.js API Routes
- Styling: Tailwind CSS
- APIs:
- Google Maps API
- Google Places API
- Google Geocoding API
- Language: TypeScript / JavaScript
- 🧠 Symptom-based department recommendation
- 📍 Automatic and manual location detection
- 🏥 Distance-based hospital listing
- ⭐ Hospital ratings and details
- 👨⚕️ Doctor information display
- 🗺️ Live map integration
- 📞 Direct navigation and call support
medirecommend/
│
├── app/
│ ├── api/
│ │ ├── geocode/
│ │ ├── hospitals/
│ │ ├── hospital-details/
│ │ └── symptoms/
│ │
│ ├── location/
│ │ └── page.tsx
│ │
│ ├── search/
│ │ └── page.tsx
│ │
│ ├── hospitals/
│ │ └── [id]/
│ │ └── page.tsx
│ │
│ ├── data/
│ │ └── doctors.ts
│ │
│ ├── lib/
│ │ └── haversine.ts
│ │
│ ├── layout.tsx
│ ├── page.tsx
│ └── globals.css
│
├── public/
├── .env
├── package.json
└── README.md
Create a file named .env.local in the root folder:
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
Enable the following APIs in Google Cloud Console:
- Maps JavaScript API
- Places API
- Geocoding API
Clone the repository: git clone <repository-link> cd medirecommend
Install dependencies: npm inst
Start the development server: npm run dev
Open in browser: https://medirecommend-g7om.vercel.app/
User ↓ Enter Symptoms ↓ Department Recommendation ↓ Location Selection ↓ Nearby Hospital Search ↓ Hospital Details
Demo Video Link: https://drive.google.com/file/d/1YF3lZg-Gm52bISgF6y7nv65Pc_UjX1LR/view?usp=drive_link
Endpoint: /api/geocode?address= Purpose: Converts location name to latitude and longitude.
Endpoint: /api/hospitals?lat=&lng=&department= Purpose: Fetches nearby hospitals based on location and department.
Endpoint: /api/hospital-details?placeId=
Purpose: Fetches detailed hospital information.
- Jaisy Sunil
- Aardra SV
This project is licensed under the MIT License.
- AI-based diagnosis using machine learning models
- Online appointment booking system
- Hospital review and feedback system
- Emergency nearest-hospital mode
- Multi-language support
- Real-time doctor availability tracking
- ChatGPT for development support
- Rule-based symptom analysis system
✔ Project description
✔ Tech stack
✔ Features
✔ Installation steps
✔ Run commands
✔ Screenshots section
✔ Demo video section
✔ Architecture section
✔ API documentation
✔ Team details
Made with ❤️ for Hackathon Submission



