typescriptNext.jsnestjsmqttpostgresqldocker

Devspace

By Yusuf Setiyawan
Picture of the author
Published on
Duration
Jun 2025 - Present
Role
Indie Maker (Solo Developer)
Website
devspace.id
Devspace Landing Page
Devspace Landing Page
Devspace Dashboard
Devspace Dashboard
Devspace Device Management
Devspace Device Management
Devspace Sensor Monitoring
Devspace Sensor Monitoring

Devspace is a comprehensive IoT monitoring platform that enables students, hobbyists, and technicians to monitor ESP32/ESP8266 devices via a centralized web dashboard. It bridges the gap between hardware and accessible software with real-time visualization and smart alerting.


Tech Stack

Frontend — Built with Next.js 14+ (App Router), TypeScript, Tailwind CSS, and ShadCN/UI. It features a responsive dashboard that handles real-time updates via WebSockets.

Backend — Developed using NestJS and TypeScript in a Turborepo monorepo. It leverages PostgreSQL with TimescaleDB for efficient time-series data storage and Redis for caching and job queues.

IoT Infrastructure — utilizing EMQX 5.8 as the high-performance MQTT Broker to handle massive device connectivity and message throughput.


My Responsibilities

I owned everything end-to-end:

  • IoT Architecture — Designed the system to handle MQTT telemetry and real-time WebSocket push
  • Fullsetsck Development — Built the NestJS backend and Next.js frontend apps
  • Database Design — Implemented schema for users, devices, and time-series sensor data
  • Monorepo Setup — Managed shared packages and multiple apps using Turborepo and pnpm
  • Real-time Systems — Implemented live chart updates and instant alert notifications

Key Features

  • Real-Time MQTT Integration — Connect ESP32/ESP8266 devices with ultra-low latency (<100ms).
  • 📊 Time-Series Visualization — Efficiently store and visualize historical sensor data using TimescaleDB.
  • 🔔 Smart Alert System — Configure threshold-based rules (GT, LT, EQ) to trigger email or webhook notifications.
  • 📱 Interactive Dashboard — United control center for managing devices, sensors, and viewing live telemetry.
  • 🔐 Secure Authentication — JWT-based auth with httpOnly cookies and Google OAuth integration.