Full-Stack

tnwr.in — Next.js 16 Headless Portfolio & Engineering CMS

Production headless portfolio and engineering blog CMS utilizing Next.js 16 Cache Components, Redis Hole Punching, Tiptap rich-text editor, Better Auth, and pluggable Cloudinary/S3 media storage.

System Architecture Topology
EDGE APICORE ENGINE● 50/50 AutomateCLUSTER

01 // Problem Statement

Traditional static developer portfolios require full code rebuilds for every project or article edit, while fully dynamic SSR apps sacrifice edge-like response speeds and database efficiency.

02 // Architecture & Caching Design

Architected on Next.js 16 (App Router) with cacheComponents: true, partialPrefetching: true, and a custom Redis remote cache handler paired with Prisma 7 on PostgreSQL.

  • Hole Punching & Surgical Revalidation: Cached static article shells in Redis ('use cache: remote' + entity cache tags) while streaming real-time views and interactive likes inside isolated <Suspense> holes.
  • Admin CMS & Pluggable Storage: Built a Better Auth-protected dashboard with a Tiptap rich-text editor, inquiry inbox, subscriber CSV export, sliding-window Redis rate limiting, and a Strategy-pattern Cloudinary/S3 media layer.

03 // Execution &amp; Results

Containerized with multi-stage Docker + Caddy HTTPS alongside automated Vitest unit tests (50/50 passing) and Playwright end-to-end verification.