Help on Clean Water Detection System

Please, am Martin from Ghana. I have this idea that i started reading about and want to implement.
I will consider using an arduino to detect the minerals in water and advice whether the water is clean or not. Am a beginner on working on arduino boards.
Kind gesture from anyone to help?
Thank you.

To test mineral levels: EC sensor.

To test whether water is clean (i.e. safe to drink): you need element tests (to figure out which minerals are in the mix, and in which ratios), biological tests (bacteria), and tests on organic pollutants.