Manual Route Validation & Explicit JWT Boundaries
Explicit validation in notes.controller.js keeps CRUD contracts predictable and separates public reading from author mutations.
Editorial Resolution — Publishing Platform
Wordloom prioritizes calm, publication-grade reading typography alongside clean author CRUD workflows and reliable Cloudinary asset cleanup.


Interactive Exhibition


01 · Editorial Publication Entry
Broadsheet desktop landing surface anchored by its companion mobile edition.
Capabilities
Dedicated broadsheet landing, community discovery feed, and distraction-free article reader across desktop and mobile.
Client-side paginated discovery catalog (PAGE_SIZE = 9) in Notes.jsx for fast, responsive browsing.
Explicitly validated CRUD routes (notes.routes.js & notes.controller.js) for publishing and managing stories.
Cloudinary cover media upload pipeline with temporary file cleanup on completion or error.
JWT authentication separating author editing/deletion rights from public reading views.
Infrastructure
System Design
React renders the editorial landing, paginated discovery, and reader views, communicating over JWT-authenticated Express routes to MongoDB and Cloudinary media storage.
Editorial Frontend
React (Notes.jsx)
Delivers landing, paginated discovery (PAGE_SIZE = 9), reader view, and article composer.
Auth & CRUD API
Express + JWT
Enforces route-level JWT authorization and manual input validation in notes.routes.js.
Media Pipeline
Cloudinary
Uploads article cover media and cleans up temporary server files deterministically.
Storage
MongoDB
Persists published notes, author ownership references, and media URLs.
Engineering Tradeoffs
Explicit validation in notes.controller.js keeps CRUD contracts predictable and separates public reading from author mutations.
Matches the verified Notes.jsx pagination implementation for responsive grid pacing without premature backend cursor complexity.
Problem Solving
Challenge
Orphaned temporary upload files accumulating on the server during failed or aborted cover uploads.
Resolution
Added deterministic temporary file cleanup around Cloudinary upload completion.
Evidence
Source-verified JWT auth boundaries, notes.routes.js CRUD, PAGE_SIZE = 9 discovery, and Cloudinary cleanup in commit 5af4e85c.
Verified desktop and mobile editorial views across landing, discovery, article reader, editor, and account management.