← Projects

Freelance

Mirrored Google Calendars

Rebuilt a broken Google Calendar sync app from scratch — mirrors events across calendars for availability blocking.

Next.jsSupabasePipedreamGoogle Calendar APITypeScript

The Problem

A client needed a working Google Calendar mirroring tool but had inherited a codebase with fundamental architectural flaws that made it unreliable and unmaintainable.

The Approach

Diagnosed the root cause of the breakage — mismatched event ownership logic and lack of idempotency. Rebuilt from scratch with a clean architecture: Next.js + Supabase backend for state management, Pipedream Connect API for managed OAuth, and event-driven sync triggers.

Challenges

Inheriting broken code without documentation required careful forensic analysis before any rebuilding could begin. Designing idempotent sync logic for Google Calendar's eventual-consistency model required several iterations.

Outcome

Delivered a stable, maintainable sync tool the client could rely on. The rebuild also served as a case study in diagnosing architectural failures and designing for reliability over speed.