All case studies
Project management · Case study

TeamBoard

Project management for small teams that shows each person what to do next — and why.

Open the live demo Code on GitHub at launch

1 Problem

On busy projects people lose track of what matters today. Blocked work hides in the board, and deadlines slip quietly until it is too late to react.

2 Target users

  • Small product and agency teams
  • Team leads who plan milestones
  • Individual contributors juggling several projects

3 User pain points

  • A board shows everything, not what to do first
  • Dependencies live in people's heads
  • Late work is noticed only at the deadline
  • Status reports take time to write

4 Existing workflow limitations

  • Boards do not rank work for each person
  • Simple tools have no dependencies or milestones
  • Heavy tools need a project manager to keep them up to date

What people use today: Spreadsheets and simple card boards, or heavy project tools that need someone to keep them up to date.

5 Product solution

TeamBoard keeps the familiar board but adds list, calendar and timeline views, dependencies with cycle checks, milestones, and a personal “My Next Best Action” list that ranks each person's open tasks with the reasons written out. A report shows project health and deadline risk.

6 User journey

  1. Create a project from a template or blank
  2. Add tasks with dates, priorities, dependencies and milestones
  3. Each person opens My Next Best Action
  4. Work moves across the board; blocked tasks are flagged
  5. The health report shows risks; repeating tasks come back on schedule

7 Technical architecture

Shared by all 11 products

  • Monorepo with one shared core package (sign-in, database, migrations, file storage, AI helper, rate limits, UI shell) and one Next.js app per product.
  • Next.js 16 App Router with React 19 Server Components; changes go through server actions, and every action checks the session again on the server.
  • PostgreSQL through postgres.js; schema changes are ordered migrations stored in the code. Development uses an embedded PostgreSQL (PGlite).
  • Files go to storage behind one interface: the local disk while developing, a private cloud bucket in production.
  • Optional Claude features go through one helper with spending limits per workspace and per server; if there is no key or a call fails, a free built-in method answers instead.

Specific to TeamBoard

  • Board, columns, tasks, checklists, comments and attachments in PostgreSQL; positions keep the drag-and-drop order.
  • Ranking, blocked detection, dependency cycle checks and milestone health are pure functions with unit tests.
  • Calendar and timeline maths uses YYYY-MM-DD dates in UTC so the server and the browser always agree.
  • Reports compute health and deadline risk from the tasks; Claude can write the summary or draft tasks from a sentence when a key is set.

8 Database design

Projects, columns, tasks with positions, checklists, comments, dependencies, milestones, attachments, notifications, templates and repeat rules — all scoped to the workspace.

14 tables, read from the migrations in the code:

tb_projects 6 columns

id, workspace_id, name, description, color, created_at

tb_columns 6 columns

id, project_id, workspace_id, name, position, is_done

tb_tasks 19 columns

id, workspace_id, project_id, column_id, title, description, assignee_id, due_date, priority, labels, position, created_by, created_at, updated_at, completed_at, milestone_id, repeat, goal_id, cycle_id

tb_checks 6 columns

id, task_id, workspace_id, text, done, position

tb_comments 7 columns

id, task_id, workspace_id, author_id, author_name, body, created_at

tb_activity 7 columns

id, workspace_id, project_id, task_id, user_name, text, created_at

tb_milestones 6 columns

id, workspace_id, project_id, name, due_date, created_at

tb_deps 4 columns

task_id, blocked_by_id, workspace_id, created_at

tb_attachments 9 columns

id, workspace_id, task_id, name, mime, size_bytes, storage_key, uploaded_by, created_at

tb_notifications 9 columns

id, workspace_id, user_id, task_id, project_id, kind, body, created_at, read_at

tb_templates 5 columns

id, workspace_id, name, data, created_at

tb_goals 6 columns

id, workspace_id, project_id, title, target_date, created_at

tb_cycles 7 columns

id, workspace_id, project_id, name, starts_on, ends_on, created_at

tb_rules 7 columns

id, workspace_id, project_id, column_id, action, value, created_at

9 API implementation

Server actions handle board changes; one route serves attachments only to the team.

17 screens and 3 route handlers, read from the code:

GET /api/account/exportGET /api/files/:idGET /api/health//app/app/account/app/dashboard/app/help/app/my/app/next/app/notifications/app/p/:id/app/p/:id/report/app/start/app/team/forgot/invite/:token/login/reset/:token/signup

10 Important technical decisions

Explain every ranking

The list shows why a task is first (for example “2 days late · Unblocks 3 tasks”), so people trust it and can disagree.

Refuse dependency cycles

A task can never end up waiting on itself; the check runs before saving.

UTC dates everywhere

Calendar and timeline views show the same day for everyone, whatever their time zone.

11 Trade-offs

Readable scoring rules, not a learned model

Cost: The ranking cannot learn a team's habits, but anyone can read why a task is first and disagree.

Due dates without times

Cost: No hour-level deadlines; in exchange a date never shifts between time zones.

A repeating task comes back when it is finished, not on a fixed calendar

Cost: An unfinished repeating task does not pile up copies, but it also does not reappear on its own.

12 AI capabilities

  • My Next Best Action ranking with reasons (built-in, free)
  • Project summary and deadline risk
  • Task drafting from one sentence
  • Claude writes summaries and drafts when a key is set

13 Security and permissions

  • Workspace scoping on every query
  • Mentions only notify members of the workspace
  • Attachments checked by bytes and served safely
  • Inside database transactions only the transaction connection is used

14 Testing

27browser test steps
37unit tests in 5 files
4,763lines of app code

Browser tests cover the board, views, dependencies, milestones, mentions, templates, repeating tasks and reports; unit tests cover ranking, cycle checks, date maths and report rules.

Counted from the code on 27 November 2026.

15 Challenges and debugging

Bug: The report's “finished in the last 7 days” counted tasks completed long ago.

Fix: The count now only includes tasks whose completion date falls inside the last 7 days.

Bug: Calendar days shifted for people in other time zones.

Fix: All task dates became plain YYYY-MM-DD values handled in UTC.

Bug: Dependencies could form a loop, leaving tasks blocked forever.

Fix: A cycle check rejects the dependency that would close the loop.

16 Final outcome

A project tool that keeps the board people know, adds planning depth (dependencies, milestones, four views) and gives every person a ranked, explained list of what to do next.

17 Evidence of results

  • Covered by 27 browser test steps and 37 unit tests (counted from the code on 27 November 2026).
  • Ranking, dependency-cycle checks, date maths and report rules are pure functions with unit tests, including the “finished in the last 7 days” bug that the tests caught.
  • Board, list, calendar and timeline views are clicked through in the browser suite on a fresh demo workspace.

Usage numbers: none yet — the product is not public. Real numbers will be added after launch, never estimates.

18 User feedback

No outside users yet. Feedback from the first testers will be added here word for word, with what changed because of it.

19 Future improvements

  • Calendar sync (ICS feed)
  • Time tracking per task
  • More automation triggers (due date passed, task created)
  • Capacity per person (hours), not only task counts