About
## The problem it solves
CleanCheck solves the problem of finding reliable information about public toilet cleanliness and availability. It allows users to find nearby toilets, check their condition and facilities, report problems such as poor hygiene or lack of water, and track the status of reported issues.
The offline-first design also helps users continue using important features even when internet connectivity is unavailable or unstable.
## Challenges we ran into
One major hurdle was implementing the **offline-first functionality**. The application needed to remain usable when there was no internet connection, while also keeping user-generated data safe.
We solved this by using a Service Worker to cache the application files and LocalStorage to store reports and newly added toilets locally. We also added online/offline detection and a pending-change system. When the internet connection is restored, the application detects the connection and updates the sync status.
Another challenge was making sure report data and admin status updates remained consistent across pages. We solved this by storing the shared data in LocalStorage and reading the latest data whenever the pages are loaded.
This helped us make CleanCheck more reliable even with unstable internet connectivity.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






