Dengue Early-Warning & Monitoring System
A comprehensive web-based platform for dengue fever surveillance, prediction, and monitoring using advanced machine learning algorithms and real-time data visualization.
DEN-Smart is an intelligent early warning system designed to predict and monitor dengue fever outbreaks. The platform combines epidemiological data, environmental factors, and machine learning models to provide accurate predictions and actionable insights for public health officials and healthcare providers.
- ๐ฎ AI-Powered Predictions - Advanced machine learning models for dengue outbreak forecasting
- ๐ Interactive Dashboard - Real-time data visualization and analytics
- ๐บ๏ธ Geographic Mapping - Interactive maps showing dengue distribution and risk areas
- ๐ Trend Analysis - Historical data analysis and trend identification
- ๐ฅ Clinical Integration - Healthcare provider tools and patient management
- ๐ฑ Responsive Design - Optimized for desktop, tablet, and mobile devices
- ๐ Secure & Reliable - Built with modern security practices and performance optimization
Visit the live application: DEN-Smart Demo
- React 18.3.1 - Modern UI library with hooks and concurrent features
- TypeScript 5.8.3 - Type-safe JavaScript development
- Vite 6.3.5 - Fast build tool and development server
- Tailwind CSS 3.4.17 - Utility-first CSS framework
- React Router 7.9.5 - Client-side routing
- Recharts 3.3.0 - Composable charting library
- Leaflet 1.9.4 - Interactive mapping library
- React Leaflet 4.2.1 - React components for Leaflet maps
- Zustand 5.0.3 - Lightweight state management
- React Hook Form 7.65.0 - Performant forms with easy validation
- Axios 1.13.1 - HTTP client for API requests
- Date-fns 4.1.0 - Modern JavaScript date utility library
- Lucide React 0.511.0 - Beautiful & consistent icon library
Before running this project, make sure you have the following installed:
- Node.js (version 18.0 or higher)
- npm (version 8.0 or higher) or yarn
- Git for version control
git clone https://github.com/your-username/den-smart.git
cd den-smartnpm installnpm run devThe application will be available at http://localhost:5173
npm run buildnpm run previewden-smart/
โโโ public/ # Static assets
โ โโโ case_dbd/ # Dengue fever case data
โ โโโ case_dd/ # Dengue death case data
โ โโโ favicon.svg # Application favicon
โ โโโ robots.txt # SEO robots file
โ โโโ sitemap.xml # SEO sitemap
โโโ src/
โ โโโ components/ # Reusable UI components
โ โ โโโ ui/ # Base UI components
โ โ โโโ Header.tsx # Navigation header
โ โ โโโ Footer.tsx # Application footer
โ โ โโโ Layout.tsx # Main layout wrapper
โ โ โโโ SEO.tsx # SEO meta components
โ โโโ pages/ # Application pages
โ โ โโโ Home.tsx # Landing page
โ โ โโโ Dashboard.tsx # Main dashboard
โ โ โโโ Prediction.tsx# Prediction interface
โ โ โโโ MapView.tsx # Geographic visualization
โ โ โโโ Clinical.tsx # Clinical tools
โ โ โโโ Data.tsx # Data management
โ โ โโโ About.tsx # About page
โ โ โโโ NotFound.tsx # 404 error page
โ โ โโโ ComingSoon.tsx# Coming soon page
โ โโโ data/ # Data services and adapters
โ โ โโโ aiService.ts # AI/ML service integration
โ โ โโโ dbdData.ts # Dengue data processing
โ โ โโโ mlService.ts # Machine learning utilities
โ โโโ hooks/ # Custom React hooks
โ โโโ lib/ # Utility functions
โ โโโ assets/ # Static assets
โโโ vercel.json # Vercel deployment configuration
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ vite.config.ts # Vite build configuration
โโโ tsconfig.json # TypeScript configuration
| Command | Description |
|---|---|
npm run dev |
Start development server with hot reload |
npm run build |
Build the project for production |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint for code quality checks |
npm run check |
Run TypeScript type checking |
This project is optimized for deployment on Vercel:
- Connect your GitHub repository to Vercel
- Vercel will automatically detect the framework and configure build settings
- The
vercel.jsonfile ensures proper SPA routing
-
Build the project:
npm run build
-
Deploy the
distfolder to your hosting provider
Create a .env file in the root directory for environment-specific configurations:
VITE_API_BASE_URL=https://api.your-domain.com
VITE_MAP_API_KEY=your_map_api_key
VITE_ANALYTICS_ID=your_analytics_idThe project includes a vercel.json file that configures:
- SPA routing for client-side navigation
- Proper caching headers for static assets
- Optimized build settings
- Real-time dengue case statistics
- Interactive charts and graphs
- Key performance indicators
- Trend analysis and insights
- Machine learning-based outbreak predictions
- Risk assessment algorithms
- Predictive modeling visualization
- Confidence intervals and accuracy metrics
- Interactive dengue case distribution maps
- Heat maps showing risk areas
- Geographic clustering analysis
- Location-based filtering and search
- Patient management interface
- Case reporting system
- Clinical decision support
- Healthcare provider dashboard
- Historical data visualization
- Data import/export functionality
- Statistical analysis tools
- Report generation
- Type Safety: Full TypeScript implementation
- Code Quality: ESLint configuration with strict rules
- Performance: Optimized bundle size and lazy loading
- SEO: Meta tags, sitemap, and robots.txt
- Accessibility: WCAG 2.1 compliant components
- Security: Secure headers and content security policy
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2024 DEN-Smart
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- World Health Organization (WHO) - For dengue surveillance guidelines
- Open Source Community - For the amazing tools and libraries used in this project
Built with โค๏ธ for public health