A comprehensive web application for monitoring water-borne diseases in rural Northeast India, built for the Smart India Hackathon.
- AI Symptom Checker: Interactive chatbot for disease diagnosis
- Symptom Assessment Form: Structured form for detailed health evaluation
- Multi-language Support: English, Hindi, Assamese, and Bengali
- User Authentication: Secure login/signup system
- Health Dashboard: Real-time statistics and trends
- Water Quality Monitoring: Track water safety parameters
- Alert System: Real-time health warnings
- Educational Resources: Disease prevention and hygiene information
- User Profiles: Personal health history and reports
- AI Predictions: Outbreak risk assessment and forecasting
- Modern, responsive UI with minimal design
- Real-time data visualization with charts
- Secure backend API with rate limiting
- Local data storage with session management
- Cross-platform compatibility
- Node.js (v14 or higher)
- npm or yarn package manager
-
Clone or download the project files
cd jeevan_raksha_health -
Install dependencies
npm install
-
Start the application
npm start
-
Access the application Open your browser and go to:
http://localhost:3000
If you want to run just the frontend:
- Open
index.htmldirectly in your browser - The app will work with local storage (limited functionality)
- Browse without login: View dashboard, use symptom checker, access education
- Create account: Sign up to save your health assessments
- Check symptoms: Use either the chat interface or structured form
- View reports: Access your personal health history (requires login)
- Monitor alerts: Stay updated on health warnings in your area
- Data Collection: Report community health incidents
- Water Quality: Submit water testing results
- Alert Management: Monitor and respond to health alerts
- Trend Analysis: View outbreak predictions and risk assessments
jeevan_raksha_health/
βββ index.html # Main application page
βββ styles.css # All styling and responsive design
βββ script.js # Frontend JavaScript functionality
βββ server.js # Backend API server
βββ package.json # Node.js dependencies
βββ README.md # This file
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Backend: Node.js, Express.js
- Database: In-memory storage (SQLite recommended for production)
- Security: Helmet.js, CORS, Rate limiting
- UI Framework: Custom CSS with modern design principles
POST /api/auth/register- User registrationPOST /api/auth/login- User loginPOST /api/symptoms/analyze- Symptom analysisGET /api/reports/user/:userId- User health reportsGET /api/dashboard/stats- Dashboard statisticsGET /api/alerts- Health alertsPOST /api/water-quality- Submit water quality dataGET /api/predictions- AI predictions
npm run dev # Uses nodemon for auto-restart-
Prepare for production:
- Set up a proper database (SQLite/PostgreSQL)
- Configure environment variables
- Set up proper authentication with JWT
- Enable HTTPS
-
Deploy to cloud platforms:
- Heroku:
git push heroku main - Netlify: Deploy frontend files
- Vercel: Deploy with
vercelcommand - AWS/Azure: Use respective deployment tools
- Heroku:
Create a .env file for production:
PORT=3000
NODE_ENV=production
JWT_SECRET=your-secret-key
DB_URL=your-database-url
- Update the
translationsobject inscript.js - Add new language option in the language selector
- Update the
changeLanguage()function
- Update the
waterBorneDiseasesobject in bothscript.jsandserver.js - Add corresponding symptoms and treatment information
- Update the analysis algorithms
- Modify
styles.cssfor visual changes - Update CSS custom properties for color themes
- Adjust responsive breakpoints as needed
- Stored locally in browser localStorage (development)
- Should be migrated to secure database for production
- Includes user profiles, health assessments, and reports
- Symptom assessments and disease predictions
- Water quality measurements
- Alert notifications and responses
- Trend analysis and statistics
- Basic input validation
- CORS protection
- Rate limiting
- Helmet.js security headers
- Implement proper password hashing (bcrypt)
- Use JWT tokens for authentication
- Set up HTTPS/SSL certificates
- Add input sanitization
- Implement proper session management
- Regular security audits
- Follow the existing code structure
- Test all changes thoroughly
- Update documentation for new features
- Ensure mobile responsiveness
- Use consistent indentation (2 spaces)
- Follow JavaScript ES6+ standards
- Comment complex functions
- Use meaningful variable names
- Port already in use: Change PORT in package.json or kill existing process
- Dependencies not installing: Clear npm cache and retry
- Browser compatibility: Use modern browsers (Chrome, Firefox, Safari, Edge)
- Check browser console for JavaScript errors
- Verify Node.js version compatibility
- Ensure all dependencies are installed
- Check network connectivity for API calls
- Problem Solved: Water-borne disease monitoring in rural Northeast India
- Innovation: AI-powered symptom analysis and outbreak prediction
- Impact: Early warning system for vulnerable communities
- Technology: Modern web technologies with offline capabilities
- Scalability: Designed for easy deployment and scaling
- Show the modern, intuitive interface
- Demonstrate multi-language support
- Use the AI symptom checker with sample symptoms
- Show the structured symptom form
- Display the comprehensive dashboard
- Highlight the alert system
- Show user authentication and personal reports
- Demonstrate water quality monitoring
- Present AI predictions and trends
- Mobile app development
- Integration with IoT sensors
- Machine learning model improvements
- Government health system integration
- SMS-based reporting for remote areas
- Offline functionality enhancement
Built with β€οΈ for Smart India Hackathon
Empowering communities through technology for better health outcomes