Skip to content
back to the quest log
rare productlive

MGM Calendar

Recurrence, done properly

A public event calendar and admin panel — Go and Postgres behind it, real iCal recurrence rules, Indonesian public holidays seeded on first boot.

role
Full-stack
org
MGM Laboratory
when
2025

What it is

A Go (chi) API on PostgreSQL with golang-migrate, S3 attachments and HS256 sessions, plus a Next.js front end with a TipTap editor that speaks images, audio, YouTube and file attachments.

Recurrence is the part everyone gets wrong. Events carry iCal RRULE strings, expanded server-side up to two years out, with children regenerated whenever the parent rule changes. On first boot it fetches this year's and next year's Indonesian public holidays in the background.

where the effort went

  • Correctness88
  • Craft74
  • Scale45
  • Automation60

the numbers

API
Go + chi
Recurrence
iCal RRULE

expanded 2 years out

Editor
TipTap
Seeded
ID holidays

built with

  • Go
  • PostgreSQL
  • Next.js
  • TypeScript
  • TipTap
  • AWS S3
  • Docker