Skip to content
All work
Case study 06Built

LoveWorld Lyrics v2

A Go/Chi API with OAuth, Casbin RBAC, and realtime chat and call signalling over MQTT and LiveKit.

RoleBackend engineer
Year—
AreaMedia
Stack
GoChiMQTTLiveKit

The brief

Version two of the LoveWorld Lyrics server: one backend for the public app and the admin app, with realtime chat and calls.

What I built

The API. A Go/Chi REST API with JWT access and refresh token rotation, sign-in with Google, Apple and KingsChat, and Casbin for role-based access.

Realtime. Chat and call signalling run over MQTT. LiveKit handles the WebRTC media and FCM handles push notifications.

Background work. I extended Fluvio into the platform’s worker for transactional email and async jobs, with an admin dashboard for monitoring them.

Data. PostgreSQL with Goose migrations and pgx, Redis for JWT denylisting, and Cloudflare R2 / MinIO for object storage.

How it fits together

The system, in 3D

Services: Public & admin apps, Go / Chi API, MQTT, LiveKit, Fluvio worker, PostgreSQL · Redis · R2. Connections: Public & admin apps to Go / Chi API; Go / Chi API to MQTT; Go / Chi API to LiveKit; Go / Chi API to Fluvio worker; Go / Chi API to PostgreSQL · Redis · R2.
Public & admin apps
Go / Chi API
MQTT
LiveKit
Fluvio worker
PostgreSQL · Redis · R2
Next project
07CybertoidsBackend engineer