Topic: express

2026-09-13 · 3 min read

Redirect link service with Firestore

Build a go.example.com redirect service in Node and Express backed by Firestore: one document per slug, a 302 to the target, a per-month click counter, and an admin list. Why routing every outbound link through it saves you when programs change.

expressfirestorecloud runredirects
2026-09-13 · 3 min read

Multi-language Express site with hreflang

How to structure a small Express and EJS site so that English lives at the root, other languages under a prefix, every page declares its alternates with hreflang and x-default, and the sitemap lists them, using a single config file and one content folder per language.

expressejsi18nhreflang
2026-09-13 · 3 min read

sitemap.xml, robots.txt and ads.txt in Express

Three small text endpoints every content site needs. How to build sitemap.xml from the content index with lastmod and alternates, keep robots.txt honest, serve ads.txt from an environment variable so ad networks can be added without a code change, and cache all three.

expressseositemaprobots
2026-09-13 · 3 min read

Cloud Run cold starts for Express

A scale-to-zero service pays for its first request after idle with a cold start. Where the time goes for a typical Node and Express app, how to measure it honestly, the changes that help (and the ones that do not), and the arithmetic for min-instances.

cloud runnodejsexpressperformance
2026-09-12 · 3 min read

Markdown blog with Express and EJS

Build a content site where each article is a Markdown file with front matter, parsed once at startup and rendered with EJS. Covers a tiny front-matter parser, a marked renderer that marks external and sponsored links, reading-time estimates for languages without spaces, and generating sitemap.xml.

expressejsmarkdownmarked
2026-09-12 · 2 min read

Deploy Express to Cloud Run from source

A minimal, production-ready way to run an Express app on Cloud Run: the Dockerfile, reading PORT, a deploy script in package.json, scaling to zero with a small memory limit, and the mistakes that cost the first hour.

cloud runexpressnode.jsdocker

← Guides