Automation & SaaS • Production Case Study

Case Study • MEAN Stack, RBAC, IoT Fleet Management, Remote Config

Coffee Machine Admin Panel

Connected Commercial Beverage Fleet Management & Remote Telemetry

Architected a comprehensive commercial coffee machine fleet administration platform using the MEAN stack, featuring granular role-based access control, regional device provisioning, remote recipe updates, and predictive maintenance telemetry.

Category

Automation & SaaS

Role

Lead Backend Developer

Status

Commercial SaaS Solution

Primary Tech

Node.js & MongoDB

⭐ Key Measured Impact & Outcomes

  • Manage 500+ commercial machines remotely
  • Over-the-air recipe configuration update in seconds
  • Automated consumable refill alerts

Executive Overview

Commercial coffee machines installed across corporate offices, hotel chains, and retail outlets need consistent beverage quality and preventive maintenance. This central administration portal allows franchise managers and technicians to monitor machine health, consumption metrics, and water filter lifespans remotely.

The Technical & Business Challenge

Managing diverse regional machine fleets with strict multi-tenant boundaries. Franchisees should only see their branch machines, while master roasters need ability to push coffee grind and water extraction recipes globally.

Engineering Solution & Architecture

Designed a multi-tier RBAC architecture in MongoDB with organization hierarchy scoping. Built an Over-The-Air (OTA) configuration dispatch pipeline that pushes JSON recipe parameters directly to target machines.

Key Architectural Decisions

  • State-driven configuration deployment pipeline with rollback protection
  • Hierarchical tenant authorization middleware in Express.js
  • High-throughput beverage dispense event logging with aggregate reporting

Core Functional Capabilities

  • Granular Multi-tenant RBAC (SuperAdmin, Master Roaster, Franchise Owner, Field Technician)
  • Remote recipe parameter updates (grind duration, water temp, milk foam ratio)
  • Dispense volume tracking and milk/bean replenishment forecasting
  • Preventative maintenance alerts for descaling and water filter replacement
  • Regional telemetry and beverage consumption popularity dashboards

Technology Stack

Node.jsMongoDBAngularFleet ManagementRBACIoT

Engineering Focus & Quality Standards

Built a robust configuration versioning system. If a machine fails to acknowledge a remote recipe update due to poor local connectivity, the system flags the machine as pending and retries with backoff upon next check-in.

👨‍💻

Parag Lashkari

Technical Team Lead & Senior PHP/Laravel Engineer. Specializing in backend systems, reliable database architecture, and team delivery.

← Previous Project
Gas Monitoring System
Next Project →
School Management System

← Back to All Selected Projects