Inspiration
Imagine waking up every morning without knowing when drinking water will be available for your family.
While researching water-related challenges across ten locations in Costa Rica, I discovered the severe water scarcity affecting Moracia, Guanacaste, where more than 1,500 residents have reportedly experienced irregular water supplies, drying wells and dependence on tanker deliveries.
This inspired me to ask a simple but important question:
If we cannot immediately increase the availability of water, can we distribute every available litre more intelligently, efficiently and equitably?
That question became the foundation of WaterPulse Costa Rica, a platform aligned with United Nations Sustainable Development Goal 6, specifically Target 6.1 — universal and equitable access to safe and affordable drinking water.
What it does
WaterPulse Costa Rica is an intelligent water distribution, emergency coordination and community infrastructure planning platform designed to address water scarcity through three core pillars:
1. Intelligent Water Distribution
- Monitor community water tanks and available water.
- Calculate water requirements based on geographical zones and population.
- Generate equitable water distribution plans.
- Identify supply gaps and potential water shortages.
- Coordinate tanker deliveries and maintain historical records.
- Configure infrastructure and distribution parameters according to local needs.
2. Real-Time Emergency Coordination
- Detect water shortages based on available supply and community demand.
- Generate simulated real-time notifications for water authorities.
- Track additional water requests, delivery schedules and confirmations.
- Provide dedicated Admin and Operator views.
3. Transparent Community Infrastructure Funding
- Identify the need for additional community water tanks.
- Estimate infrastructure and installation costs.
- Demonstrate individual donations and corporate CSR sponsorships.
- Track funding requirements and simulated contributions transparently.
Moracia is the primary functional demonstration region. The platform also features a dedicated research and solution library covering nine additional locations:
- Iguanita
- Pita Rayada
- Santa Rosa & Cipreses
- Crucitas
- Brasilito
- Hatillo
- Meleruk
- Coronado
- Los Ángeles de Grecia
Each location presents distinct water-related challenges and proposed sustainable solutions.
The platform is designed with English and Spanish language support, Light and Dark modes, a mobile-friendly PWA experience and configurable architecture for future expansion.
How I built it
I followed a research-first software development approach, beginning with an assessment of local water crises, government initiatives, infrastructure requirements, existing solutions and potential funding mechanisms.
Rather than building a generic water management application, I designed the platform around the specific challenges identified in Moracia, while keeping its architecture adaptable to other communities.
Technology Stack
- Frontend: React 19, TypeScript, Vite, HTML5, CSS3 and Tailwind CSS.
- Backend & Database: Supabase, PostgreSQL and PostgreSQL Transactional RPC.
- Authentication & Security: Supabase Auth, Row-Level Security and Zod.
- Real-Time Communication: Supabase Realtime.
- Geographical Mapping: MapLibre GL JS and OpenStreetMap.
- Mobile Architecture: Progressive Web App, Service Workers and Workbox.
- Testing: Vitest, Playwright and axe-core.
- Hosting: Cloudflare Pages.
- Version Control & CI/CD: Git, GitHub and GitHub Actions.
Architecture & Engineering Approach
- Modular monorepo architecture.
- Independently hosted public website and mobile application.
- Reusable components and shared research datasets.
- Configurable, multi-region architecture.
- Database-level security and data isolation.
- Responsive and accessible user interfaces.
- Multilingual support and theme customization.
- Fictional demonstration records and clearly labelled simulation workflows.
I used AI-assisted engineering throughout research, technical planning, implementation and problem-solving, while retaining responsibility for project decisions and requirements.
Challenges I ran into
Building WaterPulse involved solving challenges beyond software development.
- Research complexity: Finding reliable, localized and multilingual information across ten geographically diverse communities.
- Incomplete information: Working with unknown water supply volumes, unconfirmed infrastructure allocations and limited operational data.
- Equitable distribution: Designing allocation logic that balances population needs, available water, geographical zones and essential service priorities.
- Scalability: Creating a solution focused on Moracia without restricting its future use in other regions.
- Government integration: Designing simulated notification workflows without implying unauthorized connections to government systems.
- Financial transparency: Demonstrating donations and CSR sponsorships without collecting real payments or claiming confirmed partnerships.
- Accessibility: Designing an experience suitable for different languages, devices and technical abilities.
- Solo development: Managing research, architecture, implementation, testing, deployment and documentation independently.
The greatest challenge was transforming a complex humanitarian problem into a practical software solution while remaining transparent about what technology can and cannot accomplish.
Accomplishments that I'm proud of
- Transforming a real humanitarian challenge into an actionable technology solution.
- Researching water-related problems across ten locations in Costa Rica.
- Bringing water distribution intelligence, emergency coordination and infrastructure funding together within one platform.
- Creating dedicated Admin and Operator experiences.
- Designing configurable infrastructure and distribution parameters.
- Developing a scalable foundation for future regional expansion.
- Incorporating multilingual support, accessibility and responsible data management.
- Distinguishing published research, fictional operational data and proposed solutions.
- Bringing together humanitarian research and full-stack software engineering as a solo hackathon participant.
Above all, I am proud of creating something with a purpose beyond technology — something that could help protect human dignity and improve access to one of life's most basic necessities.
What I learned
This project taught me that water scarcity is not simply a shortage of water. It is also a distribution, coordination, infrastructure, financial and accessibility challenge.
Through WaterPulse, I learned the importance of:
- Research-driven software development and evidence-based decision-making.
- Separating verified facts from assumptions and estimates.
- Equitable allocation of limited resources.
- Modern full-stack architecture and real-time database systems.
- Geographical mapping and location-based decision-making.
- Secure, scalable and maintainable software design.
- Accessibility and multilingual user experiences.
- Responsible AI-assisted software engineering.
- Transparent infrastructure funding and stakeholder collaboration.
- Designing software around human needs rather than technology alone.
Most importantly, I learned that meaningful innovation begins with understanding the people affected by a problem.
What's next for WaterPulse Costa Rica
My vision is to evolve WaterPulse from a hackathon demonstration into a practical, community-focused water security platform.
Future development opportunities include:
- Collaborating with ASADA, AyA and local authorities.
- Conducting an authorized real-world pilot in Moracia.
- Integrating IoT sensors for automated water tank monitoring.
- Introducing predictive water demand and shortage forecasting.
- Implementing intelligent tanker route optimization.
- Integrating authorized government notification systems.
- Establishing verified donation and corporate CSR partnerships.
- Expanding functional implementation to the nine additional researched communities.
- Measuring improvements in distribution efficiency, equitable access, emergency response and operational costs.
- Extending the platform to water-scarce communities worldwide.
Real-world deployment will require community consultation, institutional partnerships, validated operational data and appropriate technical and safety assessments.
Technology cannot create water, but it can help ensure that every available drop reaches the people who need it most.
WaterPulse Costa Rica
Real-Time Intelligence. Reliable Water Access.
Every Drop Matters. Every Community Matters.
Built With
- cloudflare-pages
- css3
- git
- github
- github-actions-(ci/cd)
- html5
- maplibre-gl-js
- monorepo-architecture
- node.js
- npm
- openstreetmap
- postgresql
- postgresql-transactional-rpc
- progressive-web-app-(pwa)
- react-19
- row-level-security-(rls)
- service-workers
- supabase
- supabase-auth
- supabase-realtime
- supabase-storage
- tailwind-css
- typescript-(strict-mode)
- vite
- zod