A professional React-based water quality monitoring system that provides real-time tracking and analysis of various water quality parameters. Built with modern web technologies and best practices, this system offers comprehensive monitoring capabilities for water quality management.
- 37 Parameter Tracking: Comprehensive monitoring of water quality indicators
- 5-Second Updates: Real-time data refresh every 5 seconds
- Trend Analysis: Track parameter changes and trends over time
- Automated Alerts: Instant notifications for out-of-range parameters
Category | Count | Description |
---|---|---|
Organic | 11 | Total nitrogen, phosphorus, carbon, etc. |
Physical | 6 | pH, turbidity, conductivity, etc. |
Metals | 9 | Zinc, copper, cadmium, etc. |
Ions | 7 | Chloride, sulfate, fluoride, etc. |
Toxins | 2 | Phenols, methanol |
Biological | 2 | Chlorophyll, dissolved oxygen |
- Node.js (v14.0.0 or higher)
- npm (v6.0.0 or higher)
- Modern web browser with JavaScript enabled
- Clone the repository
git clone https://github.com/TsekaLuk/hydrogem-web.git
cd hydrogem-web
- Install dependencies
npm install
- Start the development server
npm start
- Build for production
npm run build
import { useMonitoringData } from './hooks/useMonitoringData';
function WaterQualityDashboard() {
const { parameters, lastUpdated } = useMonitoringData();
return (
<div>
<h2>Water Quality Parameters</h2>
<p>Last Updated: {lastUpdated.toLocaleString()}</p>
{parameters.map(param => (
<ParameterCard key={param.id} parameter={param} />
))}
</div>
);
}
useMonitoringData
: Core hook for accessing water quality datauseAlerts
: Manage monitoring alerts and notificationsuseAnalyticsData
: Access historical data and analytics
hydrogem-web/
├── src/
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── contexts/ # React contexts
│ ├── types/ # TypeScript type definitions
│ └── utils/ # Utility functions
├── public/ # Static files
└── docs/ # Documentation
- Frontend Framework: React 18.2.0
- Language: TypeScript 5.0.0
- State Management: React Hooks & Context
- Development Tools:
- ESLint for code quality
- React Testing Library for testing
- React Scripts for build tooling
- Real-time updates with minimal latency
- Optimized rendering with React's virtual DOM
- Efficient data structures for large datasets
- Responsive design for all screen sizes
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
TsekaLuk - Initial work and maintenance
- React team for the amazing framework
- Contributors and testers
- Water quality monitoring standards organizations
For support and questions, please open an issue on our GitHub repository.
Made with ❤️ by TsekaLuk