Software Engineering & Digital Products for Global Enterprises since 2006
CMMi Level 3SOC 2ISO 27001
View all services
Staff Augmentation
Embed senior engineers in your team within weeks.
Dedicated Teams
A ring-fenced squad with PM, leads, and engineers.
Build-Operate-Transfer
We hire, run, and transfer the team to you.
Contract-to-Hire
Try the talent. Convert when you're ready.
ForceHQ
Skill testing, interviews and ranking — powered by AI.
RoboRingo
Build, deploy and monitor voice agents without code.
MailGovern
Policy, retention and compliance for enterprise email.
Vishing
Test and train staff against AI-driven voice attacks.
CyberForceHQ
Continuous, adaptive security training for every team.
IDS Load Balancer
Built for Multi Instance InDesign Server, to distribute jobs.
AutoVAPT.ai
AI agent for continuous, automated vulnerability and penetration testing.
Salesforce + InDesign Connector
Bridge Salesforce data into InDesign to design print catalogues at scale.
HumanDISC
AI-powered behavioral assessments and DISC profiling for smarter hiring.
View all solutions
Banking, Financial Services & Insurance
Cloud, digital and legacy modernisation across financial entities.
Healthcare
Clinical platforms, patient engagement, and connected medical devices.
Pharma & Life Sciences
Trial systems, regulatory data, and field-force enablement.
Professional Services & Education
Workflow automation, learning platforms, and consulting tooling.
Media & Entertainment
AI video processing, OTT platforms, and content workflows.
Technology & SaaS
Product engineering, integrations, and scale for tech companies.
Retail & eCommerce
Shopify, print catalogues, web-to-print, and order automation.
View all industries
Blog
Engineering notes, opinions, and field reports.
Case Studies
How clients shipped — outcomes, stack, lessons.
White Papers
Deep-dives on AI, talent models, and platforms.
View all resources
About Us
Who we are, our story, and what drives us.
Co-Innovation
How we partner to build new products together.
Careers
Open roles and what it's like to work here.
News
Press, announcements, and industry updates.
Leadership
The people steering MetaDesign.
Locations
Gurugram, Brisbane, Detroit and beyond.
Contact Us
Talk to sales, hiring, or partnerships.
Request TalentStart a Project
Backend DevelopmentFinTech / Insurtech

Zero-Claims Automated Rain Protection using Supabase & PostGIS

MetaDesign Solutions architected a highly scalable, multi-tenant B2B insurtech platform utilizing Supabase Edge Functions, Postgres Row-Level Security, and PostGIS to automatically process real-time weather payouts.

Supabase · PostgreSQL · PostGIS
Client: Leading Australian Insurtech Platform
Parametric Weather Insurtech Platform via Supabase

Project Overview

The traditional travel and event insurance model is heavily burdened by claims paperwork, manual verification, and delayed payouts, creating a frustrating experience for both merchants and consumers. Our client wanted to revolutionize this space by creating a B2B parametric "rain protection" platform. The platform needed to integrate into third-party booking flows (via APIs and plugins), ingest massive streams of real-time weather data from official meteorological sources, and automatically trigger instant cash payouts to end-consumers when specific rain thresholds were met—all without a single claims form.

PostgreSQL & PostGIS Foundation

We built the core infrastructure on Supabase's managed PostgreSQL. To handle the complex location matching between customer bookings and official Bureau of Meteorology weather stations, we heavily utilized the PostGIS extension, allowing for incredibly fast, accurate spatial queries.

Edge Functions for Real-Time Processing

To ensure the system could automatically evaluate parametric payout conditions, we deployed Supabase Edge Functions. These functions securely process incoming real-time webhooks from global weather APIs and instantly calculate if a policy's rain threshold has been breached, initiating a payout via Stripe Connect immediately.

Have a similar challenge?

Our experts can help you build custom integrations and plugins tailored to your business workflows.

Book a free consultation

Strict Multi-Tenant Isolation via RLS

Because this is a B2B platform servicing multiple distinct merchants, data privacy is paramount. We implemented strict Row Level Security (RLS) policies directly at the Postgres database layer. This guaranteed that even if an API endpoint was compromised, merchants could mathematically only access their own specific policy ledgers.

Supabase Realtime Subscriptions

We utilized Supabase Realtime to power the merchant dashboard. Instead of aggressive client-side polling, the React frontend subscribes to Postgres row changes via WebSockets, instantly reflecting newly purchased policies and triggering live payout notifications.

Key Challenges

01

Challenge 1

Ingesting and processing extremely high-volume, real-time meteorological data streams without bottlenecking the primary transactional database.

02

Challenge 2

Matching customer booking locations to hyper-local weather station data requiring complex geo-spatial querying.

03

Challenge 3

Ensuring strict multi-tenant data isolation so integrated B2B merchants could securely manage their own customers' policies without data leakage.

04

Challenge 4

Building a highly responsive merchant dashboard that instantly reflects policy statuses and automated payouts.

Results & Outcomes

By leveraging Supabase as a comprehensive Backend-as-a-Service, MetaDesign Solutions delivered a highly scalable MVP in under 8 weeks. The platform achieved its goal of a 100% automated, zero-claims payout process. The combination of PostGIS and Edge Functions allowed the system to smoothly process thousands of concurrent geo-spatial weather data points daily, all while maintaining enterprise-grade security and isolation through Postgres RLS.

Zero
Manual Claims
8 Wks
MVP Delivery
PostGIS
Geo-Spatial Matching
100%
RLS Data Isolation
FAQ

Frequently Asked Questions

Common questions about this topic, answered by our engineering team.
Because the platform relies heavily on complex relational data (policies, merchants, payouts) and highly specialized geo-spatial querying to match weather stations to bookings, Supabase's foundation on PostgreSQL and PostGIS made it the infinitely superior choice over Firebase's NoSQL structure.
RLS acts as a bouncer directly at the database level. We wrote SQL policies that check the authenticated user's JWT (managed by Supabase Auth). If a merchant requests a list of policies, Postgres intercepts the query and only returns rows where the `merchant_id` matches their token—preventing accidental data leaks entirely.
Supabase Edge Functions listen for incoming webhook data from meteorological services. When rainfall data comes in, the function queries PostGIS to find all active policies in that coordinate radius. If the rain threshold is met, the function securely calls the Stripe Connect API to dispatch the funds directly to the customer's account.
Yes. Because the heavy lifting of spatial calculation is handled efficiently by PostGIS, and the event-driven logic is offloaded to scalable Supabase Edge Functions (running globally via Deno), the core database remains incredibly performant even during massive regional storms.
Instead of having the dashboard constantly poll the database for updates, we enabled Supabase Realtime on the `policies` and `payouts` tables. The React frontend simply connects via WebSockets and listens for `INSERT` or `UPDATE` events, displaying notifications instantly.
Have a similar challenge?

Let's build your success story.

A 30-minute call with a principal engineer. We'll discuss your challenges, propose architecture, and outline a roadmap.

Talk to a strategist
Have a similar project? Let's discuss your requirements.
Book a call
EmailWhatsApp