Case study

LeakSense API

TypeBackend API
Websitewww.leaksense.io
LeakSense API architecture

Overview

The production REST API behind the LeakSense platform. It ingests sensor data in real time, powers alerting when leaks are detected, and provides usage analytics — all protected with role-based access control (RBAC), rate limiting, and audit trails.

Challenge

An IoT backend has to stay reliable under a constant stream of sensor data, so the challenge was building ingestion and alerting that hold up in production around the clock. Because leak alerts are safety-relevant, correctness and traceability mattered as much as speed — hence strict access control, rate limiting, and a full audit trail on sensitive operations.

Sensor ingestion and alerting flow
Technologies used for this project

Backend: Node.js with Express
Database: MySQL with Prisma
Security: JWT auth, RBAC, rate limiting, audit trails