Skip to content
AquaSafe

AquaSafe

Smart cloud intelligence for safer water

Created on 27th December 2025

•

AquaSafe

AquaSafe

Smart cloud intelligence for safer water

The problem AquaSafe solves

Access to safe drinking water remains a major challenge due to increasing water contamination caused by industrial waste, salinity, and improper monitoring. Traditional water quality testing methods are often manual, time-consuming, expensive, and not available in real time, especially in rural or resource-limited areas.

As a result, contamination is frequently detected after people are exposed, leading to serious health risks such as waterborne diseases. There is also a lack of easy-to-use digital tools that allow non-experts to quickly assess water safety using available data.

AquaSafe addresses this problem by providing a cloud-based, machine-learning powered solution that enables users to instantly predict whether water is safe or contaminated based on key quality parameters. By offering fast predictions, clear risk levels, and an intuitive interface, AquaSafe makes water quality assessment simpler, faster, and safer, supporting better decision-making for individuals, communities, and authorities.

Challenges I ran into

One of the main challenges was setting up smooth communication between the frontend and backend. Since the frontend and Flask backend were running on different local ports, I initially faced CORS-related errors that prevented the UI from receiving predictions. This was resolved by correctly configuring CORS in the Flask backend and ensuring the API endpoint remained consistent.

Another challenge involved model file management. The trained ML model was not being detected due to incorrect file paths and execution directories, which caused runtime errors. I fixed this by standardizing the project structure and explicitly loading the model from a relative path inside the backend.

Additionally, environment setup on Windows posed difficulties, particularly with Python installation, PATH configuration, and dependency mismatches. These issues were resolved by validating the Python installation, using pip for dependency management, and verifying versions through testing.

Finally, improving the frontend user experience without breaking the working backend required careful coordination. This was addressed by isolating UI changes strictly to frontend files while keeping API calls unchanged.

Overcoming these challenges helped ensure the application is stable, fully functional, and production-ready for demonstration.

Tracks Applied (1)

Ethereum Track

AquaSafe focuses on predicting water quality using machine learning to support safer and more transparent decision-makin...Read More
ETHIndia

ETHIndia

Discussion

Builders also viewed

See more projects on Devfolio