buildprivate

TodoTogether

Collaborative to-do app

Shared lists that update live. Create a board, share it, and every change shows up on everyone's phone instantly.

  • Expo / React Native client with optimistic updates and rollback
  • Serverless AWS: API Gateway (HTTP + WebSocket), one Lambda per action, DynamoDB, all in Terraform

How it started

I wanted to share my todos with my girlfriend. None of the free apps I tried did what I wanted, so I built my own. It turns out it works just as well for groups: packing for a trip, planning a sleepover, organising a LAN party.

The problem

Shared lists end up in chat threads, where they get buried, or in apps that are either single-user or full-blown project management tools. And nobody sees the other person’s change until they refresh.

What it does

Boards hold ordered lists of todos with optional due dates and repeat rules. Share a board, and every edit shows up on every member’s phone, live. Recurring todos reschedule themselves when you finish them, and deletes can be undone. What a board is for is up to you.

Under the hood

  • Sign-in with Google. The backend checks the Google token and issues its own short-lived access token plus a refresh token.
  • Permissions are checked in every Lambda, not in a middleware you could forget: anything board-related checks that you own the board or are a member.
  • Live updates: every change calls a notifier that finds everyone connected to that board and pushes the change, checking membership again on the way out.
  • The app updates instantly and rolls back if the server says no.
  • Infrastructure is all Terraform.

Where it stands

I use it every day. The App Store and Play Store are the plan, with no date yet, since it’s a side project.

How it’s built

APPExpo · React NativeAPI GATEWAYLAMBDAone per actionDYNAMODBTodoTogether appoptimistic updates+ rollbackGoogle sign-inHTTP APIAuthorizerchecks our own JWTWebSocket API$connect ·$disconnectAuthlogin, refresh,logoutBoards, lists,rowsboard accesschecked insidewsNotifyfans out per boardwsConnectremembers who'sonlineData tablesusers, boards,lists, todosConnectionsby board1Google token2345pushlive update
  1. 1The app signs in with Google; the backend checks that token and hands out its own short-lived access token and a refresh token.
  2. 2Every request carries that token, and an authorizer checks it before any Lambda runs.
  3. 3The Lambda for that one action checks that you own the board or are a member, then writes to DynamoDB.
  4. 4Every change also triggers the notifier.
  5. 5It looks up everyone connected to that board, checks membership again, and pushes the change to their phones.
Fully serverless. Every change also goes to the WebSocket side, which pushes it to every member of that board.