All work

Case study · Real-time GPS & IoT tracking platform

SlimTrack

The tracking app and the Node.js and MongoDB backend for a cellular GPS tracker, built and deployed by me.

Role
Application Lead
Company
SlimIOT Technologies
Device
nRF9161 DK
Hosting
Linode

The device hardware and firmware are built by SlimIOT’s device teams. My work is the software: the MQTT layer, the Node.js and MongoDB backend, the tracking features and the deployment.

SlimTrack app: home dashboard with device status, live map and environmental sensors
SlimTrack app: live tracking map with geofence setup
SlimTrack app: route history with distance, duration and time for a trip

01Overview

SlimTrack is a GPS tracker built on the nRF9161 DK cellular IoT module. It shows where a device is right now, raises alerts when it enters or leaves an area, and keeps the history of where it has been.

02Challenge

A cellular tracker sends small, frequent location messages over links that aren’t always reliable. The system has to take them in continuously, store a location history that can be queried, and turn raw coordinates into the answers people care about: where is it now, did it leave the area, where did it go today.

Key challenges

  • Ingesting a continuous stream of device messages over MQTT
  • Modelling location data in MongoDB so history, routes and trips are cheap to query
  • Owning deployment end to end: backend, database and broker running on Linode

03My role

  • Integrated the application with the nRF9161 DK cellular IoT module
  • Built the MQTT communication layer
  • Built the Node.js and MongoDB backend for device and location data
  • Delivered live tracking, geofencing with entry/exit alerts, route history and trip summaries
  • Deployed the full stack on Linode

04Solution

The nRF9161 DK publishes over cellular MQTT to a Node.js backend that stores device and location data in MongoDB. The mobile app turns that into live tracking, geofences with entry/exit alerts, route history and trip summaries. The full stack runs on Linode.

05Architecture

High-level data flow, hosted on Linode. Simplified for clarity.

06Key features

Live location

See where each device is in real time.

Geofencing

Entry and exit alerts for defined areas.

Route history

Replay where a device has been.

Trip summaries

Distance, duration, points and time for each trip.

Home dashboard

Device status, a live map preview and environmental sensor readings.

Environmental sensors

Temperature, humidity, vibration and light readings in the app.

07Technology

nRF9161 DKMQTTNode.jsMongoDBLinode

08Screenshots

Home dashboard with device status, map and environmental sensors
Home
Live tracking with geofence radius and alert type
Live tracking & geofence
Route history for one trip with distance and duration
Route history

09Outcome

A complete tracking stack, from the cellular module to the backend to the live map, that I built and deployed myself.

Next projectStethopod