Rajdeep Singh

← Back to work

This Website

FirebaseNode.jsCloud Functions

Static HTML, a Node.js build script, Firebase Hosting. A custom CMS backed by Firestore lets me edit in the browser and publish with one click — no local build needed.

Architecture

  • Firebase Hosting — static serving, cleanUrls, HSTS
  • Cloud FunctionspublishSite renders HTML/XML from Firestore and deploys via the Hosting REST API; getAnalytics proxies GA4
  • Firestore — stores projects, writing, books, bio, and file hashes
  • Admin CMS — Google Sign-In, live editor, one-click publish
  • Analytics — 7-day totals, top pages, device breakdown in the admin panel

Design

  • Self-hosted fonts, minimal external requests
  • Dark mode via prefers-color-scheme
  • Under 5KB per page
  • No JavaScript frameworks