Skip to content
All worktheNinjaDev

case study

TaskFlow

A full task management product: boards, lists and cards with real drag-and-drop, per-board roles, comments, file attachments, an activity log and notifications — backed by a Spring Boot API I wrote by hand and a Next.js frontend, both running in production.

taskflow-tasksmanager.vercel.app
TaskFlow's boards dashboard in dark mode, listing three boards with progress, member count and role.
role
Solo build — backend, frontend, deployment
timeline
Personal project
status
Live

the problem

A friend's team had given up on Trello over its pricing and said they'd switch to something simpler if it covered the basics. That set the bar higher than a CRUD demo: boards people can actually be invited to, roles that genuinely restrict what you can do, an audit trail, file attachments, notifications — and a frontend good enough to use every day.

approach

  1. Built the backend as nine vertical slices — auth, boards and membership, lists, tasks, labels, comments, attachments, activity log, notifications — shipping each one as DTOs, mapper, service and controller together rather than building the whole app layer by layer
  2. Full JWT lifecycle with refresh-token rotation and a deny-by-default security config. The filter authenticates from a UUID carried in the token, so a request never costs a database lookup just to work out who's calling
  3. Per-board roles (Owner, Admin, Member, Viewer) enforced through shared permission helpers, with an invite / accept / decline / revoke flow and self-service leave
  4. Fractional position maths for ordering lists and cards, so dragging a card writes a single row instead of renumbering the whole column, and per-board task codes (TSK-124) issued through an atomic counter
  5. Next.js frontend in TypeScript with Tailwind and shadcn/ui: drag-and-drop boards, dark mode, an activity feed, skeleton loaders and Framer Motion transitions
  6. Traced a mobile sign-out bug to the refresh cookie being SameSite=Strict, which blocks it cross-site everywhere. Fixed it with a same-origin Next.js rewrite proxy rather than the two easier options — a long-lived access token, or returning the refresh token in the response body — both of which would have traded away the security model for convenience
  7. Deployed the API to Render, the frontend to Vercel, and attachments to Backblaze B2's S3-compatible storage, across fifteen Flyway migrations

in motion

Opening a board and moving cards between columns. Drag-and-drop uses fractional position maths, so a move writes one row rather than renumbering the column.

result

A working product rather than a portfolio exercise: nine REST slices, Google OAuth alongside password login, scheduled due-date notifications, account deletion that anonymises in place, and both halves deployed and in use.