Course map

Project 01

Task management application

Basic architecture and CRUD

Start after Part 5

Key topics 31, 39, 53, 60, 71

Architecture Modular monolith (deliberate)

Brief

A team task manager: users create projects, add tasks with assignees, due dates, status, and comments; view boards and lists.

Targets

10k users, 1k DAU · p99 API latency < 300 ms · 99.9% availability · single region.

Must cover

  • Resource-level authorization — a user can touch only their projects' objects (→ 39).
  • Audit history — who changed what, when, modeled as data (→ 59).
  • Concurrent edits without lost updates — optimistic versioning (→ 71).

Design challenges

  1. A clean layered structure in which domain logic has no framework imports (→ 49–50, 53).
  2. A normalized relational schema for projects, tasks, comments, and the audit history table, indexed from the query patterns (→ 59–60, 63–64).
  3. Correct REST semantics: idempotent updates, cursor pagination, one consistent error format (→ 31, 37–38).
  4. The task state machine (todo → in progress → done, with rules) enforced in the domain model (→ 46).

Out of scope

Real-time collaboration, offline sync, email reminders (background jobs arrive with → 121 in Part 7), microservices. This is an honest monolith; method steps 15–16 and 20 will be shallow here, which is expected.

Search the guide