- Nuxt
- Vercel
- Architecture
Building akbarbintangm v2: a Nuxt CMS on Vercel with Redis and Blob
Why the second version of this site runs as two Nuxt apps — a public portal and a CMS — on Vercel, with Redis for content and Blob for media.
Akbar Bintang Mahendra1 分で読めます
Why a second version
The first version of this site was a static profile: every change to a project or a role meant a commit and a deploy. Version two adds a CMS so content changes in minutes, plus a blog.
Two apps, one contract
The public portal renders pages with SSR and caches them at the edge (ISR). It never touches storage directly; it calls the CMS Public Content API through a small BFF.
The CMS owns all data. Its API follows the same envelope and RFC 7807 errors I use in Go services, so a Go + Gin backend can replace it later without touching the portal.
Storage that fits serverless
- Content documents live in Redis (Upstash on Vercel, a Redis container in Docker).
- Images live in Vercel Blob.
- Column names match the planned PostgreSQL schema, so migrating is an import, not a rewrite.
Caching in layers
CDN / ISR (60 s) → portal BFF cache → CDN in front of the CMS → Redis response cache → Redis documents
Reads are almost always served by the CDN, so traffic growth does not translate into database load.