Smart Water Hydro System
IoT Full-Stack Dashboard
IoT water monitoring platform replacing manual polling with a containerized Python REST API on GCP Cloud Run, Supabase real-time sync, and a live JavaScript dashboard.
What Smart Water Hydro System Does
Smart Water Hydro System is an IoT full-stack monitoring platform that connects a containerized Python REST API deployed on Google Cloud Run with Supabase real-time cloud database synchronization and a live JavaScript visualization dashboard, delivered via automated CI/CD deployments.
Why I Chose This Project
I chose this project to gain hands-on experience running containerized Python backends on serverless cloud infrastructure (GCP Cloud Run) and streaming live IoT telemetry into a responsive web dashboard.
Hydro and water monitoring setups require continuous visibility into sensor readings; polling-heavy or manually deployed backends struggle to stay reliable and up to date.
Build a cloud-hosted IoT telemetry pipeline that ingests sensor readings via a Python REST API, synchronizes state in real time to a cloud database, visualizes live data in a JavaScript dashboard, and deploys automatically.
A Docker-containerized Python REST service running on GCP Cloud Run that writes to Supabase for real-time cloud synchronization, consumed by a lightweight JavaScript dashboard for live sensor visualization, with CI/CD handling automated builds and deployments.
Core Engineering Goals
- Develop a Python REST API for ingesting and serving water/hydro sensor data.
- Containerize the backend with Docker for consistent execution.
- Deploy the containerized service serverlessly on GCP Cloud Run.
- Synchronize telemetry in real time using Supabase.
- Build a JavaScript dashboard for live sensor data visualization.
- Automate deployments through a CI/CD pipeline.
Smart Water Hydro System Component Topology
IoT Sensor Input
Telemetry Payloads
Python REST API
Docker Container on GCP Cloud Run
Supabase Cloud DB
Real-Time Database Synchronization
JS Live Dashboard
Real-Time Sensor Data Visualization
CI/CD Pipeline
Automated Container Deployments
Request & Data Flows
- IoT Sensor InputPython REST APIREST telemetry ingestion
- Python REST APISupabase Cloud DBPersisted sensor state
- Supabase Cloud DBJS Live DashboardReal-time cloud sync
- CI/CD PipelinePython REST APIAutomated Cloud Run deploys
Tools & Frameworks
- Python
- GCP Cloud Run
- Supabase
- Docker
- JavaScript
What I Built
- Built the Python REST API backend and containerized it with Docker.
- Deployed the containerized backend to GCP Cloud Run.
- Integrated Supabase real-time cloud database synchronization.
- Created the JavaScript dashboard for live sensor data visualization.
- Configured automated deployments through CI/CD.
Key Capabilities
- Python REST API backend
- Docker containerization
- Serverless deployment on GCP Cloud Run
- Supabase real-time cloud database synchronization
- JavaScript dashboard for live sensor data visualization
- Automated deployments through CI/CD
Engineering & Delivery Process
- 01Local container builds and API verification with Docker.
- 02Automated build and deployment pipeline targeting GCP Cloud Run.
- 03Real-time database sync verification between Python API and JavaScript dashboard.
Hard Problems Encountered
- Ensuring the Python backend runs identically from local development to serverless GCP Cloud Run.
- Keeping the JavaScript dashboard synchronized with incoming sensor updates without manual page refreshes.
How I Solved Those Challenges
- Packaged the Python REST API in a Docker container deployed to GCP Cloud Run via automated CI/CD.
- Leveraged Supabase real-time cloud database synchronization so the JavaScript dashboard reflects live sensor updates immediately.
What Is Implemented
- Containerized Python REST API deployed to GCP Cloud Run with automated CI/CD, Supabase real-time database sync, and a live JavaScript dashboard.
Known Constraints
- Live deployment URL and hardware sensor field-test screenshots are not currently linked.
- Specific sensor parameter calibration details and uptime metrics are not published.
System Visual Preview
Telemetry architecture diagram shown above. Live dashboard and hardware/sensor screenshots require confirmation / asset upload.
Engineering Takeaways
- Packaging Python APIs in Docker for stateless, serverless execution on GCP Cloud Run.
- Using real-time cloud database synchronization to simplify live IoT dashboards.
- Setting up automated CI/CD workflows to eliminate manual deployment steps.
- • Specific sensor parameters tracked (e.g., pH, TDS, water level, temperature) and live dashboard screenshots.