Enforcement Portal (Enforcement Ops)
October 20, 2026
Enterprise

Enforcement Portal (Enforcement Ops)

Multi-tenant enforcement operations platform for town councils — officer GPS patrol tracking, geo-tagged evidence capture, electronic notices from a by-law rules engine, a public resident complaint portal and live role-based dashboards.

Next.js 14TypeScriptReactTailwind CSSPostgreSQLPrismaNextAuthLeafletOpenStreetMapServer-Sent EventsSWRReact Native (Expo)AWS S3TwilioDocker

Overview

Enforcement Ops lets one deployment serve any number of town councils, each data-isolated by council with its own users, zones, by-laws, cases and branding. Officers patrol with live GPS tracking and capture geo-tagged, watermarked evidence photos from a React Native app; supervisors review cases, which automatically generate electronic notices from a configurable by-law rules engine with an online appeals workflow; residents report issues through a public portal; and management follows patrol completion, complaint trends, response-time SLAs, repeat offenders and KPI achievement on live dashboards with scheduled reports.

Key Achievements

  • Architected a multi-tenant platform where every table is scoped by council, with a separate platform-administrator console to create, suspend and manage councils
  • Built live officer GPS patrol tracking streamed to a supervisor map over Server-Sent Events, with automatic block-visit detection, patrol schedules and route replay history
  • Stamped every evidence photo with a visible watermark plus EXIF geotag and officer identity at capture time for tamper-evident records
  • Implemented a configurable by-law rules engine that issues electronic notices on case approval, with PDF notice letters, online appeals and SMS reminders
  • Delivered live role-based dashboards for patrol completion, outstanding cases, complaint trends, 24-hour SLA response times, repeat offenders and KPI achievement
  • Automated CSV, Excel and PDF reports emailed on daily, weekly or monthly schedules per council
  • Shipped a React Native field app for officers, supervisors and management, sharing one REST API with the web portal

Enforcement Portal (Enforcement Ops)

A multi-tenant enforcement operations platform for town councils: officer GPS patrol tracking, geo-tagged evidence capture, electronic notices driven by a configurable by-law rules engine, a public resident complaint portal, and live role-based dashboards.

Supervisor overview
Supervisor overview

Features

FeatureWhat it does
------
Officer GPS trackingLive officer positions streamed to the supervisor patrol map; past sessions can be replayed by date, officer and zone
Patrol completionEach block an officer's route passes is recorded as a visit as GPS points arrive, so completion is live
Patrol schedulePlan which zone is patrolled when, for named officers or anyone in the zone, once or repeating
Evidence photosIn-app camera capture with geotag and officer identity burned in as a watermark and EXIF data
Electronic noticesGenerated automatically on case approval from the council's by-law rules, with printable PDF letters
AppealsOnline appeals to uphold, reduce or waive, each requiring a supervisor comment
Resident portalPublic complaint reporting with a map pin, triaged by supervisors
Dashboards & KPIsPatrol completion, outstanding cases, complaint trends, response-time SLA, repeat offenders and KPI targets
ReportsCSV, Excel and PDF on demand, or emailed on a daily, weekly or monthly schedule
Patrol history
Patrol history
Case review
Case review

Multi-Tenant by Design

Every town council is data-isolated by councilId in one shared database, so one deployment serves any number of councils, each with its own users, zones, by-laws, cases and branding. A separate platform administrator console creates and suspends councils, maintains a shared by-law template library and compares councils side by side.

Mobile Field App

A React Native (Expo) app covers officers, supervisors, management and admins: new cases with geo-tagged photos, live patrols, my cases and the review queue — all against the same REST API as the web portal.

New case
New case
Live patrol
Live patrol

Stack

  • Next.js 14 (App Router, TypeScript): one deployable app for UI, API routes and server actions
  • PostgreSQL + Prisma: every tenant-scoped table carries councilId
  • NextAuth: JWT session carrying role and council, enforced in middleware
  • Leaflet + OpenStreetMap with Server-Sent Events for the live patrol map
  • exceljs / pdfkit for report exports, jimp / piexifjs for evidence photo stamping
  • S3-compatible storage, email providers and Twilio / Vonage SMS for notice reminders
  • Docker Compose deployment
  • Notice letter
    Notice letter

    Have a project in mind? Let's build it.

    I'm open to full-time roles and interesting collaborations in Singapore, India and remote.

    Sathishkumar Ranganathan

    Full-stack software engineer building enterprise platforms, mobile apps and AI-powered tools with Laravel, React, Node.js, Flutter and AWS.

    Connect

    Keyboard Shortcuts

    ⌘K
    Search
    T
    Toggle theme
    2026 Sathishkumar Ranganathan. All rights reserved.
    Built withusing Next.js & Tailwind