Back to projects
Full-Stack Engineer

Task Management Application

Independent engineering case study

An engineering case study in building a task platform with strict layer separation. The Go backend follows Handler -> Service -> Repository boundaries, while the Next.js frontend uses TanStack Query for optimistic updates and server-sent events for real-time synchronization. The previous Vercel deployment was removed, so this project is presented through its repository rather than a live URL.

Project Overview

  • Role: Full-Stack Engineer
  • Client: Independent engineering case study
  • Stack: Go 1.22, Next.js 14, TypeScript
CHALLENGE

The problem we solved

Task mutations needed to be authorized, auditable and immediately reflected in the UI. The system also needed predictable query performance for filtered, sorted and paginated task lists without external search infrastructure.

SOLUTION

How we approached it

Centralized authorization and audit logging in the service layer, used prepared PostgreSQL statements with composite/partial/GIN indexes, streamed changes over SSE and implemented optimistic cache updates with automatic rollback on failed mutations.

OUTCOMES

Results delivered

Separated HTTP, service and repository layers for testability and maintainability
Implemented JWT HTTP-only cookies with bcrypt password hashing and origin validation
Added per-task activity logs and SSE broadcasts scoped to authenticated users
Shipped multi-stage container builds for both Go and Next.js services
ENGINEERING DECISIONS

Key technical choices

01

Placed authorization in the service layer so it cannot be bypassed by alternate HTTP handlers

02

Used PostgreSQL full-text search and index-optimized access patterns instead of a separate search service

03

Chose SSE over polling or WebSockets for lightweight, unidirectional real-time updates

04

Kept the project as a repository case study because the former Vercel project was removed

TECHNOLOGIES

Tools and technologies used

Go 1.22Next.js 14TypeScriptPostgreSQL 16TanStack Query v5DockerJWT

Building scalable web and SaaS applications with modern full-stack technologies.

© 2026 Mohammad Fahad. All rights reserved.