Case study · Backend, APIs & admin panels

Plegium: a personal-safety alarm platform

Backend services, APIs and admin panels I build for Plegium, a personal-safety app that raises an alarm from the phone or a paired device, calls and texts the user’s emergency contacts, and shares their live location.

  • Python
  • FastAPI
  • Go
  • Next.js
  • React
  • MySQL
  • PostgreSQL
  • DynamoDB
  • Firebase
  • AWS
  • Docker
  • Twilio
Start a project

One press. Every contact alerted.

Plegium is a Swedish personal-safety company. Since October 2024 I’ve worked on its platform with my team at Zennaxx Technology: Python (FastAPI) microservices for calls, SMS, one-time passwords, registration, IoT devices and alarm partners, a Go subscription API, and Next.js admin panels. When an alarm starts, the services call and text the user’s emergency contacts through Twilio, retry unanswered calls, and show the user’s live location until the alarm is turned off.

Alarm flow: alarm from the app or a device, Twilio calls and SMS, retries after 30 seconds and 3 minutes, live location tracking
Plegium platform overview: alarm triggers, the Python and Go services, their outcomes, and the AWS services they run on

How it works

Alarm, escalation, live location.

The services run in Docker on AWS, with Aurora MySQL and PostgreSQL, SQS, S3 and DynamoDB. Admin panels manage users, groups, devices, alarms, partners and subscriptions, kept in sync with Chargebee, Recharge and Seal.

Call & SMS escalation

Contacts get an SMS with a live-location link and a Twilio call. Unanswered calls are retried after 30 seconds and again after 3 minutes, through an SQS delay queue.

Escalation timeline: alarm SMS, call 1 not answered, call 2 after 30 seconds, call 3 after 3 minutes

Live location

While the alarm is active, contacts follow the user on a Next.js tracking page with Google Maps. In 2026 I moved location storage from Firebase to PostgreSQL.

Illustration of a live location map with a route and an active-alarm marker

Devices & integrations

Alarms also come from Bluetooth pepper sprays and keychains and from an IoT alarm managed through AVSystem Coiote, with Agora live audio, Noonlight dispatch and App Attest / Play Integrity checks.

Plegium pepper spray, keychain and IoT alarm devices, and the integrations: Bluetooth, AVSystem Coiote, Agora, Noonlight, Twilio, App Attest and Play Integrity

More work

Explore more projects.

WordPress plugins I’ve built for WooCommerce stores in India.

UPI QR Code Payment Gateway

WooCommerce plugin to accept UPI payments by QR code, with UTR verification. 1,000+ active installs, rated 5/5.


View case study
UPI QR Code Payment Gateway plugin banner: customers scanning a UPI QR code on a phone

COD to UPI for WooCommerce

WooCommerce plugin that confirms cash-on-delivery orders before shipping and offers prepaid UPI payment instead.


View case study
COD to UPI plugin banner: a cash-on-delivery parcel converted to a paid UPI order

Let’s work together

Have a web app, plugin or integration in mind?

Tell me about your project and I’ll get back to you with the next steps.

Find me on

Freelance platforms.

You can also hire me through these freelance marketplaces.

  • Upwork profile
  • Fiverr profile
  • Freelancer.com profile
  • Guru profile
  • PeoplePerHour profile

Contact

Let’s work together on your next project!

Share a few details about your project using the form and I’ll get back to you. You can also message me on LinkedIn.

Number without the country code

Your details are only used to reply to your enquiry.