Project case study

TaskBoard

A full-stack task management app which allows users to create projects, assign tasks, filter by status and priority, and view per-project summaries. Built with a fully tested DRF backend and a React TypeScript frontend.

View on GitHub
Django REST FrameworkBackend
React + TypeScriptFrontend
30 tests passingTest suite
/api/v1/Versioned API
Overview

What is TaskBoard?

TaskBoard is a task management app I built to reinforce my core backend and frontend fundamentals. The project idea came out of a previous technical assessment, and was used as a focused exercise to solidify the concepts tested there.

Users can create projects, add tasks to each project, filter tasks by status and priority, and view a per-project breakdown of task counts grouped by status. The backend is a fully versioned DRF API with pagination, filtering, and a 30-test suite covering models, serializers, and API endpoints.

Features

What it does

Project management
Full CRUD on projects with create, view, edit, and delete functionalities. Tasks are scoped to their parent project with CASCADE delete.
Task management
Full CRUD on tasks with status (todo / in progress / done), priority (low / medium / high), and an optional due date.
Filtering
Tasks filterable by status, priority, and project via query params. Filters combine, e.g. all high-priority todo tasks on a given project.
Project summary
A dedicated summary endpoint returns per-project task counts grouped by status using Django ORM's annotate() and Count(), the SQL GROUP BY equivalent.
Pagination
Global PageNumberPagination with a page size of 10. Works correctly in combination with all filters, with explicit queryset ordering for consistent results.
Versioned API
All endpoints namespaced under /api/v1/ to demonstrate awareness of API evolution and backward compatibility.
Testing

30 tests, all passing

The test suite covers three layers; model tests verify field defaults, string representations, and ForeignKey behaviour. Serializer tests confirm that invalid status and priority values are rejected, required fields are enforced, and valid data passes through correctly. API tests cover list, retrieve, create, update, delete, filtering, and the summary endpoint using DRF's APITestCase and APIClient.

All REST API endpoints were also manually tested and documented using Postman, verifying response codes, payload structure, and error handling for both valid and invalid inputs.

Tech stack

Built with

Backend
Django REST FrameworkDjango ORM
Database
PostgreSQL
Frontend
ReactTypeScriptVite
Routing
React Router DOM
HTTP client
Axios
Testing
DRF APITestCaseAPIClientPostman
Challenges

What I worked through

Pagination breaking without explicit ordering Solved
DRF's pagination can return inconsistent results across pages if the queryset has no guaranteed order; the database is free to return rows in any order it chooses. Adding explicit default_ordering on both models (newest first) fixed this and made the test suite reliable.
Model-level vs serializer-level validation Solved
Django's TextChoices enforces valid values at the model level, but DRF serializers add a second validation layer before data even reaches the model. Understanding where each layer fires, and writing tests that specifically target serializer rejection of invalid choices, clarified how the two layers interact.
Reusable React forms for both create and edit Solved
Rather than duplicating form components, I built ProjectForm and TaskForm to be mode-aware via a mode prop. The same component handles both create (empty initial state, POST on submit) and edit (pre-populated state, PATCH on submit), keeping the codebase clean and the behaviour consistent.
Dryft and Wick All projects