← Track projects
Track project · 14

Build Collaborative Tasks and Attachments

Add realtime updates and secure file attachments while keeping the database as the durable source of truth.

Definition of done

What you are building

Deliverables

Build plan

Work through it one observable step at a time

  1. 01

    Open the app in two browser sessions with separate users.

  2. 02

    Create/update/delete a task in one browser and observe events in the other.

  3. 03

    Reconcile realtime events with TanStack Query instead of maintaining a second independent store.

  4. 04

    Simulate duplicate and out-of-order events and decide when to refetch.

  5. 05

    Implement file selection and validate size/type metadata before upload.

  6. 06

    Upload to storage and write authoritative metadata to PostgreSQL.

  7. 07

    Authorize download based on verified workspace membership.

  8. 08

    Delete metadata/object with an explicit lifecycle that can recover from partial failure.

  9. 09

    Attempt an unsafe upload and unauthorized download and record the security evidence.

Evidence

Do not rely on “it seems to work”

Evidence to collect

Project exit ticket

Close the project only when these are true

Completion