← Back to all insights

Building NoteArc: The Technical Architecture Behind This Platform

NoteArc isn't just a blog — it's a platform built with Next.js, optimized for SEO, designed for scale, and architected by a developer who's also the content creator. This behind-the-scenes look at NoteArc's technical architecture explains every architectural decision and why it was made.

NoteArc started as "just a blog" and evolved into a content platform that demonstrates every architectural principle I write about. Building your own platform — rather than using WordPress, Medium, or Substack — provides: complete control over SEO optimization, custom performance tuning, a living portfolio of technical decisions, and the freedom to evolve the platform as the content strategy evolves. Here's the architecture and the reasoning behind every choice.

The Tech Stack

Framework: Next.js (App Router). Why: server-side rendering for SEO (Google indexes fully rendered pages), file-based routing (each article is a route, each category is a route — the URL structure maps naturally to content structure), built-in image optimization (next/image reduces load times without manual image processing), and the React ecosystem (component libraries, state management, and a massive community for problem-solving).

Database: Seeded JavaScript modules. Articles are stored as JavaScript modules that export structured data (title, slug, category, body, meta). This approach provides: zero external database dependency (no PostgreSQL, no MongoDB — the content IS the codebase), full version control (every article edit is a Git commit with full diff history), instant deployment (no database migrations, no data synchronization), and developer-friendly content editing (VS Code with syntax highlighting beats any CMS editor).

Styling: CSS with design system tokens. Custom CSS with design tokens (CSS custom properties) for colors, typography, and spacing. No Tailwind (unnecessary abstraction for a platform where I control every component), no CSS-in-JS (server-side rendering complications outweigh the benefits for this use case).

Deployment: Vercel. Next.js on Vercel provides: automatic deployments on Git push, global CDN distribution, serverless function support for dynamic routes, and free tier that comfortably serves the platform's current traffic levels.

SEO Architecture

Content platforms live or die by organic search. NoteArc's SEO architecture: URL structure: /insights/[category]/[slug] — hierarchical, descriptive, and keyword-containing. Metadata: Each article exports meta_keywords, description, and og_image — transformed into <meta> tags, Open Graph tags, and Twitter Card tags at render time. Structured data: JSON-LD Article schema for each post — enabling rich search results (author, publication date, category). Sitemap: Auto-generated sitemap.xml listing all articles with lastmod dates. Internal linking: Related articles linked at the bottom of each post, creating a link graph that distributes page authority across the site.

Performance Optimizations

Static generation: Articles are statically generated at build time — each page is pre-rendered HTML served from CDN cache. Response time: sub-50ms globally. No server-side computation per request. Image optimization: All images processed through next/image — modern formats (WebP/AVIF), responsive srcsets, lazy loading, and blur placeholders. Font optimization: Google Fonts loaded with font-display: swap and preloaded for critical fonts. Bundle analysis: Regular bundle analysis to identify and remove unused code. Target: sub-100KB initial JavaScript bundle.

Content Management Workflow

The content workflow is developer-native: write article in VS Code (syntax highlighting, spell check, multi-cursor editing), structure as JavaScript module (title, slug, category, body as template literal HTML), commit to Git (full version history, branch-based editing for drafts), push to main branch (triggers Vercel deployment — article live within 90 seconds), and verify in production (check rendering, meta tags, mobile layout).

This workflow eliminates every CMS pain point I've experienced: no WordPress plugin conflicts, no Contentful API rate limits, no Medium paywall constraints, and no Substack design limitations. The trade-off: non-technical content contributors can't easily add articles. For a platform where I'm the sole content creator, this trade-off is acceptable. If NoteArc grows to include guest contributors, a lightweight CMS layer (Sanity, Contentlayer) could be added without restructuring the architecture.

What I'd Do Differently

Hindsight improvements: start with TypeScript from day one (type safety prevents content structure errors), implement search from the beginning (retroactive search implementation is harder than initial), and build an analytics dashboard earlier (understanding which articles attract traffic should inform content strategy from month 1). These aren't architectural mistakes — they're sequence optimizations. The core architecture (Next.js static generation, JS module content, Vercel deployment) remains the right choice for a developer-run content platform.

ArchitectureFull-StackNoteArc