Skip to main content
George Khananaev
Tag archive

#security

2 posts

Read Vercel Controller: a Node.js microservice for Vercel cache and deployments
Technical Deep-Dive
Moon Holidays

Vercel Controller: a Node.js microservice for Vercel cache and deployments

Express 4 service with async job queue, smart deduplication, LRU cache, Helmet.js security, and 129 tests — called by Travel Panel whenever content changes

Vercel Controller wraps the Vercel API behind a stable interface for every service in the Moon Holidays platform. Express 4 + Helmet.js, async job queue with smart deduplication, LRU response cache with 88% hit rate, bearer token auth with timing-safe comparison, 129 tests, and auto-healing Docker. Travel Panel calls it whenever content changes to invalidate CloudFront and redeploy dependent frontends.

nodejsexpressverceldevopsasyncrate-limitingsecuritymicroservice
Jan 20265 min
Read FastAPI DocShield: protect your API docs with one line
Open Source

FastAPI DocShield: protect your API docs with one line

HTTP Basic Auth on the OpenAPI docs endpoints for FastAPI

A tiny FastAPI extension that adds HTTP Basic Authentication to the Swagger UI, ReDoc, and OpenAPI JSON endpoints. Drop it in, set a username and password, and your API docs are no longer public. Useful when you want docs in production but not publicly indexable.

fastapipythonsecurityauthentication
132 min