AI-powered task management application with natural language command interface. A portfolio project demonstrating full-stack development expertise and QA-driven development practices.
Developer: Patiphak Klandee (Faro)
Technical Background: ISTQB Certified | 3+ Years QA/Development Experience
Project Status: Backend Complete (CRUD, Reordering, Timers + xUnit Service Tests) | Frontend Core Kanban Complete (Boards/Lists/Cards, Drag-and-Drop, Card Editing, Time Tracking) + Vitest Util/Hook/Component/Page Tests | Hardening Sprint Complete | Phase 2 Close-out Complete
NoBacklog is a modern task management system that combines:
- Trello-like Kanban Interface - Visual board-based task organization
- JIRA-style Time Tracking - Detailed work log functionality
- AI-Powered Commands - Natural language task management (future phase)
Strategic Differentiator: Unlike conventional tools, NoBacklog will process natural language commands to create, update, and organize tasks intelligently.
Status: 27 endpoints operational across Board, List, Card, and TimeLog resources, including dedicated reorder endpoints for Lists and Cards and a card-rank rebalance endpoint.
Achievement Summary:
- Built a production-ready 4-tier hierarchical REST API on ASP.NET Core
- Implemented comprehensive validation patterns (field + reference)
- Designed a controller → service → EF Core data-access layering with PostgreSQL
- Added rank-based positioning for drag-and-drop reordering (Lists and Cards)
- Partial updates on
PUT /cards/:idvia a dedicatedCardUpdateRequestDTO (omitted fields are left unchanged) - Server-stamped Start/Finish timers with configurable per-card and global limits (
409 Conflicton violation) - Global
TrimmingStringConvertertrims whitespace from every inbound string before validation
Completed APIs:
- Board API - Dashboard/workspace management (5 endpoints)
- List API - Column/status management (5 endpoints + reorder)
- Card API - Task/item management (5 endpoints + reposition + rebalance)
- TimeLog API - Time tracking functionality (5 CRUD endpoints + start/finish/running/settings)
Total Backend Deliverables:
- 4 EF Core entity models with relationships (
Board,List,Card,TimeLog) - 4 ASP.NET controllers, each backed by an injected service class and interface
- EF Core migrations tracking schema evolution (including the card
Positionranking column, nullableTimeEstimate, the one-running-timer-per-card partial unique index, and dropping the unusedtime_trackedcolumn) .httprequest file for manual endpoint testing- xUnit test project (
backend-tests/) covering all four services and all four controllers (viaWebApplicationFactory) against an in-memory SQLite database
Framework: React 19 (Vite)
Styling/Components: MUI (Material UI)
Status: Core Kanban experience is complete — board list, board detail, list and card CRUD, full drag-and-drop reordering (within and across columns), card editing, list renaming, and time tracking are implemented. The hardening sprint is complete: card rank rebalancing, per-feature loading/error states, and a Vitest suite covering the rank/duration utils and the data-owning hooks.
Implemented so far:
- Boards list and board detail pages (
react-routerrouted) - List columns: create, delete, inline click-to-edit rename, drag-and-drop reordering
- Cards: create (inline form with title + priority, keyboard shortcuts), delete, drag-and-drop reordering within a column and across columns
- Card detail dialog (
CardEditDialog) with per-field saving for title, description, priority, and time estimate; the open card is kept in the URL (/boards/:boardId?card=<id>), so it can be linked to and stays open after a refresh - Rank-based position encoding (
generateRank) so client-assigned positions sort correctly against the backend's plain string ordering @dnd-kitintegration with a sharedDragDropProvider, type-scoped sortables (listvscard), and aDragOverlay(dragged lists render a clone of their cards) to avoid DOM-relocation conflicts with React's reconciliation- Time tracking inside the card detail dialog: Start/Finish timers (server-stamped), live elapsed counter, per-entry durations and a card total, capped entries per card and a global cap on simultaneously running timers, and manual correction of an entry's start/finish times (inline
datetime-localeditor; finish after start, nothing in the future) - Shared Dialog, outlined-input and Select styling lives in
theme.jscomponent overrides rather than per-componentsx - Per-feature loading/error states: the board name, list columns and cards each load independently with skeleton placeholders, and a failed load shows what failed with its own Retry (
LoadError) instead of blanking the page; add-card controls stay hidden until a column's cards have loaded - Failed drag persistence rolls back: a list reorder or card move the server rejects is restored to its pre-drag position, with the error shown in the affected column
- Server error messages reach the UI:
api.jsthrows the backend envelope'smessage(e.g. which time-tracking limit a409hit), falling back to the HTTP status line, with the status code onerror.status CardEditDialogis fully labelled and keyboard-reachable: the title is a real button (Tab, then Enter/Space opens the editor; focus returns after Enter/Escape), the dialog is named by the card title, and every field has an accessible name- Vitest test suite for the shared HTTP client (
api.js), the pure utils (generateRank,formatDuration,priorityChipSx) and the data-owning hooks (useLists,useBoardCards,useCardTimeLogs), with MSW standing in for the backend, and every component and page:BoardsPage,BoardDetailPage, the drag-and-drop columns and cards (Lists,ListColumn,Cards,CardItem),LoadError,CardEditDialogandTimeLogSection(React Testing Library) - The board's icon buttons and inputs (
Add card,List options,Card options,Cancel,List name,Card title,Priority) have accessible names, and each column is named by its list - A list's title is keyboard-reachable (Tab, then Enter/Space to rename), and a failed card create keeps the typed title and priority for a retry
Planned Technology: Anthropic Claude API
Core Functionality: Natural language command processing
Target Platform: TBD
Database: PostgreSQL (local for dev; hosting TBD)
| Category | Technology | Version |
|---|---|---|
| Runtime | .NET | 10.0 |
| Framework | ASP.NET Core Web API | — |
| Database | PostgreSQL | — |
| ORM | Entity Framework Core | 10.0.5 |
| DB Driver | Npgsql.EntityFrameworkCore.PostgreSQL | 10.0.1 |
| API Testing | .http file (NoBacklog.Api.http) |
— |
| Unit Testing | xUnit + EF Core Sqlite (in-memory) | 2.9.3 / 10.0.5 |
| Category | Technology | Version |
|---|---|---|
| Framework | React | ^19.2.0 |
| Build Tool | Vite | ^7.3.1 |
| UI Library | MUI (Material UI) | ^6.4.0 |
| Routing | React Router | ^7.14.1 |
| Drag-and-Drop | @dnd-kit (react, abstract, helpers) |
^0.4.0 |
| Package Manager | pnpm | — |
| Lint/Format | Biome | ^1.9.4 |
| Unit Testing | Vitest + jsdom + React Testing Library | ^5.0.3 / ^30.1.2 / ^16.3.3 |
| API Mocking | MSW (Mock Service Worker) | ^3.0.2 |
| Browser Testing | Playwright | ^1.64.1 |
| Component Testing | @testing-library/user-event + @testing-library/jest-dom |
^14.6.7 / ^7.0.1 |
- AI: Anthropic Claude API
- Deployment: TBD
- CI/CD: GitHub Actions — CI in place (frontend lint, both test suites and the frontend build on every push); deployment pipeline planned
nobacklog/
├── backend-dotnet/
│ ├── Controllers/
│ │ ├── BoardsController.cs
│ │ ├── ListsController.cs
│ │ ├── CardsController.cs
│ │ └── TimeLogsController.cs
│ ├── Models/
│ │ ├── Board.cs
│ │ ├── List.cs
│ │ ├── Card.cs
│ │ ├── TimeLog.cs
│ │ ├── CardReorderRequest.cs
│ │ ├── CardUpdateRequest.cs # partial-update DTO for PUT /cards/:id
│ │ ├── ListReorderItem.cs
│ │ ├── TimeLogStartRequest.cs
│ │ ├── RunningTimerSummary.cs
│ │ └── TimeTrackingOptions.cs # MaxEntriesPerCard / MaxRunningTimers
│ ├── Json/
│ │ └── TrimmingStringConverter.cs
│ ├── Services/
│ │ ├── Interfaces/ # IBoardService, IListService, ICardService, ITimeLogService
│ │ ├── BoardService.cs
│ │ ├── ListService.cs
│ │ ├── CardService.cs
│ │ └── TimeLogService.cs
│ ├── Data/
│ │ └── AppDbContext.cs
│ ├── Migrations/ # EF Core schema migrations
│ ├── Program.cs # App entry point, DI, CORS, DbContext config
│ └── NoBacklog.Api.csproj
│
├── backend-tests/
│ ├── Infrastructure/
│ │ ├── TestDb.cs # per-test in-memory SQLite database + seed helpers
│ │ ├── ApiFactory.cs # in-memory API host (WebApplicationFactory) on that database
│ │ └── ApiAssert.cs # response envelope assertions (incl. model-validation 400s)
│ ├── Controllers/ # HTTP-level tests, one class per controller
│ ├── Services/ # BoardService, ListService, CardService, TimeLogService tests
│ └── NoBacklog.Api.Tests.csproj
│
└── frontend/
└── src/
├── app/ # main.jsx, routes.jsx, theme.js
├── test/ # Vitest setup, MSW server, apiUrl + renderWithTheme helpers
├── pages/ # BoardsPage, BoardDetailPage
├── features/
│ ├── boards/ # api, components, hooks
│ ├── lists/ # api, components, hooks, constants
│ ├── cards/ # api, components (incl. CardEditDialog), hooks, constants, rank.js
│ └── timeLogs/ # api, components, hooks, utils
└── shared/
├── api/ # shared fetch client (api.js): timeout, error envelope → Error
└── components/ # shared UI (FieldLabel, LoadError)
Board (Dashboard/Workspace)
├── Name: string
└── Lists[] ─┐
│
List (Column/Status)
├── Name: string
├── BoardId: int → Board
├── Position: string (rank-based ordering)
└── Cards[] ─┐
│
Card (Task/Item)
├── Title: string
├── Description: string?
├── ListId: int → List
├── Position: string (rank-based ordering)
├── Priority: enum[Low, Medium, High]
├── TimeEstimate: string? (free text, max 50)
└── TimeLogs[] ─┐
│
TimeLog (Work Log Entry)
├── CardId: int → Card
├── StartTime: DateTime
├── EndTime: DateTime? (nullable)
└── Duration: long (ms, computed on finish)
Two-Tier Validation Pattern (applied consistently across controllers):
-
Field Validation
- Required field presence checks
- Empty/whitespace string detection
- Business rule validation (e.g. reorder payload cannot be empty)
-
Reference Validation
- Parent resource existence verification at the service layer
- Missing references raise
KeyNotFoundException, caught by the controller and returned as404
Example (Card Reposition):
// Tier 1: Field Validation
if (request.ListId == 0)
return BadRequest(...); // malformed/missing field
if (string.IsNullOrWhiteSpace(request.Position))
return BadRequest(...);
// Tier 2: Reference Validation (in the service layer)
// RepositionCardAsync throws KeyNotFoundException if the card or
// destination list doesn't exist — caught by the controller as 404.Lists and Cards both carry a string Position field. The backend orders by a plain OrderBy(x => x.Position); the frontend generates fixed-width, zero-padded rank strings (see rank.js) so a lexicographic string sort is equivalent to a numeric one. New positions are computed client-side as the midpoint between two neighboring ranks, which supports append and insert-between without a server round trip to compute the value. When no integer rank is left between two neighbors (or an append would overflow the 8-digit width), generateRank returns null and the client sends the list's intended card order to PATCH /lists/:listId/cards/rebalance. The server then rewrites every rank in that list 1000 apart in a single transaction. A card coming from another list is moved in by the same call, so a cross-list drop that exhausts a gap is persisted in one request.
Dev: http://localhost:5000/api
Production: TBD
GET /boards - Get all boards
POST /boards - Create new board
GET /boards/:id - Get board by ID
PUT /boards/:id - Update board
DELETE /boards/:id - Delete board
GET /lists - Get all lists (optional: ?boardId=xxx)
POST /lists - Create new list
GET /lists/:id - Get list by ID
PUT /lists/:id - Update list
DELETE /lists/:id - Delete list
PATCH /lists/reorder - Persist a new list order (body: ordered array of list IDs; an unknown ID → 404, nothing moved)
GET /cards - Get all cards (optional: ?listId=xxx or ?boardId=xxx)
POST /cards - Create new card
GET /cards/:id - Get card by ID
PUT /cards/:id - Update card
DELETE /cards/:id - Delete card
PATCH /cards/:id/reorder - Reposition a card (body: { listId, position })
PATCH /lists/:listId/cards/rebalance - Re-space every card rank in a list (body: ordered array of card IDs; 409 if a card in the list is missing)
GET /timelogs - Get all time logs (optional: ?cardId=xxx)
POST /timelogs - Create new time log
POST /timelogs/start - Start a timer on a card (body: { cardId }; server stamps start time)
POST /timelogs/:id/finish - Finish a running timer (server stamps end time, computes duration in ms)
GET /timelogs/running - Every running timer across all cards ({ id, cardId, cardTitle, startTime }[])
GET /timelogs/settings - Time-tracking settings ({ maxEntriesPerCard, maxRunningTimers })
GET /timelogs/:id - Get time log by ID
PUT /timelogs/:id - Correct a time log's startTime/endTime (omitted = unchanged; end must follow start, no future times, a running entry's end can't be set)
DELETE /timelogs/:id - Delete time log
Time-tracking rules (each returns 409 Conflict when violated):
- A card may have one running timer at a time. The database enforces this too (partial unique index
ix_time_logs_card_id_runningoncard_id WHERE end_time IS NULL), so two concurrent starts can't both succeed; the loser gets the same 409. - A card stores at most
TimeTracking:MaxEntriesPerCardentries, running included (default 5). - At most
TimeTracking:MaxRunningTimerstimers may run at once across all cards (default 2).
Both limits are placeholder settings until a project-manager settings UI exists — override
them in appsettings*.json:
"TimeTracking": { "MaxEntriesPerCard": 3, "MaxRunningTimers": 5 }{
"success": true,
"message": "Resource successfully created/updated/deleted",
"data": { /* resource object */ }
}{
"success": false,
"message": "Descriptive error message"
}Requests rejected by model validation before a controller runs ([Required], [MaxLength], unreadable JSON, unknown enum values, a non-numeric {id}) use the same envelope with a per-field errors object added (Json/ValidationErrorEnvelope.cs):
{
"success": false,
"message": "Board name is required.",
"errors": { "Name": ["Board name is required."] }
}200- Success (GET, PUT, DELETE, PATCH)201- Created (POST)400- Validation Error (client error)404- Resource Not Found409- Conflict (time-tracking limits)500- Server Error (unhandled)
QA-Driven Development: Leveraging ISTQB Foundation Level principles — positive/negative cases, boundary value analysis, equivalence partitioning, reference integrity testing.
backend-tests/ holds an xUnit project with two layers: Services/ exercises every service class directly (BoardService, ListService, CardService, TimeLogService), and Controllers/ sends real HTTP requests through the whole API. No database server or Docker is needed:
dotnet test backend-tests- Database: each test gets its own in-memory SQLite database (
Infrastructure/TestDb.cs), created from the EF model withEnsureCreated(). SQLite was chosen over EF's InMemory provider because it's a real relational engine, so foreign keys andON DELETE CASCADEare actually enforced. - Assertions read back through a fresh
DbContext, so they check what was persisted rather than the change tracker's in-memory copy. - Coverage focus: reference-integrity errors (unknown parent IDs), not-found paths, partial-update semantics (card/list
PUT), cascade deletes, ordering and tie-breaks, and boundary values for the time-tracking limits (one below / atMaxEntriesPerCardandMaxRunningTimers). - Controller tests:
Infrastructure/ApiFactory.cshosts the real app (Program.cs: routing,[ApiController]model validation, JSON options, controllers, services) in memory withWebApplicationFactory<Program>, swapping Postgres for the test's SQLite database and overriding the time-tracking limits through configuration. Seeding and read-back go through the sameTestDbhelpers. They cover the{ success, message, data }envelope, the controllers' own 400 checks, the exception mapping (KeyNotFoundException→ 404,ArgumentException→ 400,InvalidOperationException→ 409), route constraints, enum-as-string JSON and inbound trimming. - Two sources of 400: a controller's own checks (e.g.
listIdmissing, blankPUTtitle) and anything[ApiController]rejects before the action runs (blank or whitespace names, which trim to""and fail[Required];[MaxLength]; malformed JSON; unknown enum values; a non-numeric{id}). Both return the{ success, message }envelope; the second also carrieserrorsand is checked withApiAssert.ValidationFailure. - Known gap vs. production: SQLite orders strings with a binary collation, while Postgres uses the database collation, so
Card.Positionordering isn't verified against Postgres itself.
Test files sit next to the code they cover (rank.js → rank.test.js). No backend or database is needed:
cd frontend
pnpm test # run once
pnpm test:watch # re-run affected tests on save
pnpm test:coverage # coverage report (text + coverage/index.html); fails below the thresholds- Runner: Vitest, configured in
vite.config.jsso tests go through the same transform pipeline as the app.globalsis off — tests importdescribe/it/expectexplicitly, sosrc/test/setup.jscalls Testing Library'scleanup()itself. - Backend stand-in: MSW (
src/test/server.js) interceptsfetch, so the realapi.jsand service modules run in every hook test: URLs, verbs, request bodies and error conversion are all exercised. The server starts with no handlers; each test declares exactly the endpoints it expects withserver.use(...), and any undeclared request fails the test (onUnhandledRequest: 'error'). - Components render through
renderWithTheme(src/test/render.jsx), which wraps them in the app'sThemeProvider(theirsxcallbacks read custom palette tokens MUI's default theme lacks) and returns auser-eventsession (delay: null, so typing doesn't wait a timer tick per keystroke). Elements are queried role-first (getByRole('button', { name: 'Save' })), then label/placeholder/text — never MUI class names.jest-dommatchers (toBeDisabled,toHaveValue, …) are registered insetup.js. - Hooks are driven with
renderHook/waitFor/act. Error assertions match the exact message (e.g.HTTP error: 500 Internal Server Error), because an unmatched handler also produces an error (TypeError: fetch failed) and a vague assertion would pass for the wrong reason. - Coverage focus: rank boundaries (
RANK_MAX, exhausted gaps) plus a repeated-bisection test asserting string sort order; duration rollovers and the negative clamp; for each hook, load → error → reload transitions, a stale-response guard, every mutation's success and rejection, the rebalance-before-create path, and rollback of a rejected drag. For components (LoadError,CardEditDialog,TimeLogSection): each optimistic edit's revert on failure, Save/Discard dirty-tracking and in-flight states, Escape cancelling a title edit (or a time-entry edit) without closing the dialog, the time-entry editor's validation (finish after start, no future or blank times) and sending only the changed field, the Start button and limit captions at each cap's boundary, and the live elapsed counter (fakesetInterval/Dateonly). For pages and the drag-and-drop components:BoardsPage's links resolve through a memory router;BoardDetailPageloads the board name, lists and cards independently (each with its own error and Retry, and no cards banner until the lists are on screen) and merges the card's priority into every dialog save, applies a same-list card hover live but holds a cross-list one until the drop, and keeps the open card in?card=<id>(deep link, refresh, stale/malformed ids dropped, kept through a failed load);ListColumn's rename (Enter, blur, Escape, blank/unchanged, optimistic name settling) and add-card form (Shift+Enter, L/M/H outside the title, focus-leave closing that ignores the priority dropdown);Lists' per-column slicing and error scoping;CardItem's delayed single-click open, double click, and moved-press rejection. - Drag-and-drop: jsdom has no layout, so dnd-kit can't resolve a real pointer drag.
BoardDetailPage.test.jsxwrapsDragDropProviderto reach the handlers the page passes it, and callsonDragStart/onDragOver/onDragEndwith synthetic events shaped like dnd-kit's. It asserts on the rendered order and on the request each drop sends: list reorder and its rollback, same-list and cross-list card moves (onto a card, into an empty column, below the last card), the rebalance when ranks are exhausted, the rejected-move rollback, and cancelled drags. The real provider still renders, so everyuseSortable/useDroppableregistration runs.setup.jsstubsResizeObserver, which@dnd-kit/domconstructs on import. - Queries on the board: dnd-kit gives each draggable
role="button"witharia-roledescription="draggable", so a column isn't aregionand a card isn't alistitem. Columns are found by their name (getByLabelText('To Do', { selector: 'section' })) and cards by their title text. - HTTP client:
api.test.jscovers the error envelope'smessage, the status-line fallback for empty, non-JSON and blank-message bodies, and the 5000 ms timeout. For the timeout, MSW holds the response withdelay('infinite')while onlysetTimeout/clearTimeoutare faked. - Mutation-checked: while writing the suite, deliberate bugs were injected into each module under test to confirm a test fails for each one. One known exception:
ListColumn's Escape resets the title draft in case the field's unmount also fires ablur, which jsdom never does. - Coverage thresholds:
vite.config.jsfailspnpm test:coveragewhen project-wide coverage drops below 94% statements, 88% branches, 95% functions or 95% lines, about a point under the figures measured on 2026-10-27 (95.7 / 89.2 / 96.0 / 96.3%). Raise them as coverage grows. - Not covered:
main.jsxandroutes.jsx(app bootstrap). Real pointer and keyboard drags are covered by the browser tests below.
Real drags in Chromium, in frontend/e2e/. Playwright starts its own Vite dev server on port 5199, and the API is stubbed per test (e2e/support/board.js), so no backend or database is needed:
cd frontend
pnpm exec playwright install chromium # once
pnpm test:e2e- Why a browser: jsdom has no layout, so the Vitest suite can only call the drag handlers with synthetic events. These tests check that a gesture on the rendered board activates a drag, collides with the right target, and ends in the expected order and request.
- Pointer drags: list reorder (including that the columns really moved on screen), same-list and cross-list card moves, a drop into an empty column, a cross-list hover held until the drop, Escape cancelling either kind of drag, and rollback with the server's message when the save fails. A card's double-press gesture is tested from both sides: a single click opens the card, and a press and move without the first click does nothing.
- Keyboard drags: Space to lift, arrow keys to move, Space to drop or Escape to cancel, for list reorder, same-list card moves, and card moves into the next list (above its first card or below its last) and into an empty one. A key is followed by a short pause, because dnd-kit finishes a keyboard step asynchronously.
- Fixture: card 3 shares its numeric id with list 3 on purpose, to guard the
list-/card-id prefixes against the registry collision described inListColumn.jsx. - Mutation-checked: committing cross-list hovers live fails the hold-until-drop test, and removing the column's
KeyboardSensorfails the keyboard list tests. - Not covered: the stubbed API returns nothing from a write, so persistence itself rests on the backend's controller tests. Touch gestures and browsers other than Chromium aren't run.
.github/workflows/ci.yml runs on every push (and on demand from the Actions tab), as three parallel jobs:
- Backend:
dotnet test backend-testson .NET 10. - Frontend:
pnpm install --frozen-lockfile,pnpm lint(Biome: formatting and lint rules),pnpm test:coverage(fails under the coverage thresholds), thenpnpm build. pnpm's version comes frompackageManagerinfrontend/package.json. - E2E:
pnpm exec playwright install --with-deps chromium, thenpnpm test:e2e, with one retry and the report uploaded as an artifact on failure.
A newer push to the same branch cancels the run it supersedes. frontend/.gitattributes checks the frontend out with LF line endings, so pnpm lint passes on Windows exactly as it does in CI; run pnpm format (or pnpm biome check --write .) to fix formatting locally.
[HttpPost]
public async Task<IActionResult> Create([FromBody] Resource resource)
{
// 1. Field validation
if (string.IsNullOrWhiteSpace(resource.Name))
return BadRequest(new { success = false, message = "Name is required." });
try
{
// 2. Service call — reference validation happens here,
// throwing KeyNotFoundException if a parent doesn't exist.
var created = await _resourceService.CreateResourceAsync(resource);
return CreatedAtAction(nameof(GetById), new { id = created.Id },
new { success = true, message = "Resource successfully created.", data = created });
}
catch (KeyNotFoundException ex)
{
return NotFound(new { success = false, message = ex.Message });
}
}- Each resource has an
I{Resource}Serviceinterface and a{Resource}Serviceimplementation, registered as scoped DI services inProgram.cs. - Services own EF Core queries (
AppDbContext), reference-existence checks, and business rules (e.g. rank reordering, duration calculation).
- Each domain (
boards,lists,cards,timeLogs) owns its ownapi/,components/, andhooks/subfolders, with anindex.jsbarrel export. - Pages (
src/pages/) compose feature hooks and components; they do not fetch data directly. - Card state is lifted to the board level (
useBoardCardsinBoardDetailPage) so a single drag handler can see both the source and destination list when a card moves across columns.
- .NET SDK 10.0+
- Node.js 22.12+ (Vitest 5 requirement; CI uses Node 24) and pnpm 9 (pinned via
packageManager;npm installis blocked) - PostgreSQL (local instance, or a hosted connection string)
- Git
- Code editor (VS Code / Rider recommended)
- Clone the repository
git clone <repository-url>
cd nobacklog- Configure the backend
cd backend-dotnet
# Create appsettings.Development.json (gitignored) with a PostgreSQL
# connection string under ConnectionStrings:DefaultConnection
dotnet restore
dotnet ef database update- Configure the frontend
cd frontend
pnpm install-
Start both dev servers — see Running the App below.
-
Verify the API is running
# Should return: { "message": "NoBacklog API is running..." }
curl http://localhost:5000/| Frontend | Backend | Database | |
|---|---|---|---|
| Dev | http://localhost:5173 |
http://localhost:5000 |
nobacklog |
# Terminal 1 — backend (from backend-dotnet/)
dotnet run --launch-profile http
# Terminal 2 — frontend (from frontend/)
pnpm dev.claude/launch.json defines the same two servers (frontend, backend) for Claude Code's preview tools.
- ASP.NET Core Documentation
- Entity Framework Core Documentation
- Npgsql Documentation
- PostgreSQL Manual
- ISTQB Syllabus
- xUnit Documentation
- Vitest Documentation
- MSW Documentation
- Playwright Documentation
- React Testing Library —
renderHook
Detailed progress by work item, with the commits behind each one, is kept in the maintainer's private project notes.
- Backend API architecture design (ASP.NET Core + EF Core + PostgreSQL)
- Database schema modeling + migrations
- Board API implementation
- List API implementation (+ reorder endpoint)
- Card API implementation (+ reposition endpoint, rank-based ordering)
- TimeLog API implementation
- React project initialization (Vite, MUI, React Router)
- API client setup
- Board list + board detail pages
- List column CRUD (create, delete) + drag-and-drop reordering
- Card CRUD (create, delete) + drag-and-drop reordering, including cross-list moves
- Card detail view / editing (title, description, priority)
- List renaming
- Time tracking UI (start/finish/delete in the card detail dialog; per-card entry cap + global running-timer cap)
- Automated backend test project (xUnit against the service layer, in-memory SQLite)
- Sync the open card editor to a
?card=<id>URL param (deep-linkable, survives refresh) - Dedupe the priority-chip colour lookup shared by
CardItemandCardPreview(priorityChipSx) - Add
theme.jscomponent overrides for MUIDialog/form controls instead of localsxfixes
- Manual editing of a time entry's start/finish times
- Project-manager settings UI for
MaxEntriesPerCard/MaxRunningTimers(after auth/roles) - DB-level guard for one running timer per card (partial unique index on
card_id WHERE end_time IS NULL); a start that loses the race to a concurrent one gets the usual 409 - Decide the fate of the unused
Card.TimeTrackedcolumn (sync from logs or drop): dropped. It was meant as a cached per-card total of logged time, but nothing ever wrote it, and the UI sums the time-log entries instead (migrationDropCardTimeTracked) - Surface the server's error
messageinapi.jsinstead of the genericHTTP error: 409
- Controller-level integration tests (
WebApplicationFactory): validation 400s, 404/409 mapping, response envelope -
GET /api/cards/:idandGET /api/timelogs/:idreturned 500: theInclude()d parent got the entity back through EF's relationship fixup (Card.List.Cards → Card…) and serialization threw on the cycle.Program.csnow setsReferenceHandler.IgnoreCycles, which writes that back-reference asnull - Return model-validation 400s in the
{ success, message }envelope (InvalidModelStateResponseFactory), soapi.jsshows e.g. "Board name is required." instead of the status line. The[Required]/[MaxLength]attributes carry the same wording as the controllers' own checks; those blank-name checks on board/list/card create stay as a backstop but aren't reachable through model binding -
PATCH /api/lists/reordersilently skipped unknown list IDs, so itsKeyNotFoundException→ 404 branch never ran. An unknown ID now returns 404 and no list is moved - Optional Postgres Testcontainers run: moved to Next release
- Run
dotnet testin CI (GitHub Actions)
- Rank rebalancing when a position gap is exhausted (
PATCH /lists/:listId/cards/rebalance) - Per-feature loading/error states (board name, lists and cards load and retry independently; failed drag persists roll back)
- Frontend test coverage (Vitest + MSW: rank/duration utils and the
useLists,useBoardCards,useCardTimeLogshooks)
- Component tests with React Testing Library (
CardEditDialog,TimeLogSection,LoadError) - Tests for pages (
BoardsPage,BoardDetailPage) and the drag-and-drop components (ListColumn,CardItem,Lists,Cards) -
BoardDetailPage'sonDragOverlooked the dragged card up by its dnd-kit id (card-3) instead of its numeric id, so its "only commit same-list hovers" guard never fired and cross-list hovers were applied live too (see its comment for the ghost-card bug the guard prevents) - A failed card create clears the add-card title (
submitCreateCardresolves after recording the error), unlike the add-list form, which keeps the name for a retry.submitCreateCardnow resolves to whether the card was created, and the form keeps the title and priority on failure - The list title is click-only: make it keyboard-reachable like
CardEditDialog's title. It's a focusablerole="button"(Enter/Space opens the editor, focus returns after Enter/Escape) rather than a real<button>, so pointer drags can still start on it - Browser-level drag-and-drop tests (Playwright): real pointer and keyboard drags
- Keyboard ArrowDown from the last card of another list jumped back to the card's original list, so a card couldn't be placed below that last card. ArrowUp/ArrowDown now only consider targets in the column the card is over (a line in
patches/@dnd-kit__dom@0.4.0.patch, in dnd-kit'sSortableKeyboardPlugin) - Accessibility gaps found while testing
CardEditDialog: the time-estimate and description fields have no accessible name (FieldLabelisn't a<label>), the title isn't keyboard-reachable and its input has no name, and the dialog has no accessible name (aria-labelledby) - Test
api.js's timeout path (fake timers + MSW), alongside the server-error-message follow-up - Remove the unused
useCardshook (superseded byuseBoardCards, still exported fromfeatures/cards/index.js) - Check whether
useCardTimeLogsshould clear its state whencardIdbecomes null. Not needed:TimeLogSectiononly mounts while the dialog has a card, so closing it unmounts the hook - Run
pnpm testin CI alongsidedotnet test - Project-wide Biome cleanup (
pnpm lintreports pre-existing errors in files outside the test suite), then addpnpm lintto CI - Add coverage thresholds once components are tested (enforced in CI via
pnpm test:coverage)
- Optional Postgres Testcontainers run to verify
Positionordering under the real collation
- User authentication
- AI command processing
- Deployment to production
- Mobile responsiveness optimization
- Real-time updates
- DRY (Don't Repeat Yourself): Reusable patterns across all APIs and frontend features
- Separation of Concerns: Clear model/service/controller boundaries on the backend; clear data/hooks/components boundaries on the frontend
- Consistent Naming: Descriptive, conventional variable/function names
- Error Handling: Field validation at the controller, reference validation at the service layer, surfaced as typed HTTP responses
- Boundary value testing during validation design
- Equivalence partitioning for error scenarios
- Edge case consideration (null values, empty strings, invalid references, exhausted rank gaps)
- Negative testing coverage (400, 404 responses)
- State transition testing (idle → running timer → finished timer)
Reference Document: CV uploaded in project files for technical depth calibration
Development Preferences:
- Step-by-step numbered guidance (max 5 steps per increment)
- Explanatory teaching over direct code solutions
- Credible documentation references
- Real-world examples and analogies
- Technical depth appropriate to ISTQB certification + 3+ years experience
Available Time Commitment:
- Weekdays: 15 hours (after 4:30 PM)
- Weekends: 10 hours
- Flexible session-based progress
This is a portfolio project for educational and demonstration purposes.
Email: fklandee@gmail.com
LinkedIn: linkedin.com/in/patiphak-klandee
Portfolio: faroklandee.in
Current Phase: Frontend Development - Core Kanban UI complete (boards, lists, cards, drag-and-drop, card editing, time tracking); hardening sprint and Phase 2 close-out complete (server error messages, dialog accessibility, Biome lint in CI)
Backend Status: CRUD, reordering and timer endpoints complete across Board, List, Card, TimeLog resources | xUnit service-layer tests in place; controller integration tests pending