Skip to content

Routempo

A timezone-aware routine planner for people who want to plan repeatable rhythms, record what actually happened, and learn from their real behavior.

Role
Product designer and full-stack engineer
Scope
Product workflows, domain modeling, data boundaries, integrations, and delivery
Status
Publicly deployed
Routempo sign-in screen with the 'Record what actually happened' introduction and Google and Microsoft sign-in options

Problem

Repeatable routines are easy to schedule but hard to evaluate. When plans, actual outcomes, timezone changes, and external calendars live in separate systems, a person cannot tell what they intended from what they did. Storing everything on one recurring record also means every edit risks rewriting history.

Constraints

  1. C1

    Schedule and completion semantics must stay correct across user timezones, so the meaning of "today" cannot be left to display formatting.

  2. C2

    Reminders depend on browser permission, push subscriptions, and a scheduled server invocation, any of which can be missing.

  3. C3

    Google integrations depend on OAuth scopes and provider configuration that the core planner cannot assume.

  4. C4

    Imported and exported personal data must keep the user in control of their own records.

Architecture

TanStack Start routes and a React interface sit on top of domain services for routines, sessions, and reviews. Drizzle repositories persist that history in Neon PostgreSQL behind Better Auth, while Web Push and Google Calendar and Tasks adapters, along with scheduled summary endpoints, stay at the edge.

01

Interface

TanStack Start routes and React screens handle routine planning, daily execution, and review.

02

Domain

Routine, session, and review services own timezone conversion and keep planned intent separate from recorded outcomes.

03

Data and auth

Drizzle repositories store durable behavioral records in Neon PostgreSQL, with Better Auth managing accounts.

04

Integrations

Web Push and Google Calendar and Tasks adapters, plus scheduled summary endpoints, connect the planner to reminders and external calendars.

Decisions

D1

Store durable behavioral records in PostgreSQL through Drizzle

Browser-only state would be simpler to run, but a database gives queryable history and portable account data. The trade-off is more infrastructure to operate.

D2

Separate planned routines from recorded outcomes

A user can change tomorrow's plan without changing yesterday's evidence, so analysis reflects what actually happened rather than the latest version of the plan.

D3

Isolate notification and OAuth integrations behind configured boundaries

The core planner stays usable when push permission, OAuth scopes, or provider configuration are missing, at the cost of handling each integration as optional.

Contribution

  • Built the flows for creating repeatable routines and running them day to day.
  • Modeled sessions, check-ins, reviews, and account data in the database schema and migrations.
  • Added calendar and task sync, push subscriptions, scheduled weekly summaries, import and export, and account deletion paths.
  • Established test coverage with Vitest, Testing Library, and Playwright.

Outcomes

  • Users can plan routines and run them each day in their own timezone.
  • Recorded outcomes stay separate from plans, so users can review real patterns over time.
  • Users can move their account data in and out of the product.
  • Users who opt in can connect Google services and receive reminders and weekly summaries.

Product screenshot

Routempo sign-in screen with the 'Record what actually happened' introduction and Google and Microsoft sign-in options
The deployed Routempo entry screen: planning and outcome tracking start after signing in with Google or Microsoft.

Verified stack

  • TanStack Start
  • TypeScript
  • React
  • Tailwind CSS
  • PostgreSQL
  • Drizzle ORM
  • Better Auth
  • Web Push
  • Vitest
  • Playwright
  • React Testing Library
  • System Design

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.