Two Next.js 16 apps: the public site and the admin that edits every word of it.
Content
18 editable blocks
Publish
<60s from edit to live
Architecture
Visitor
browser
Next.js site
tanim.my.id
Content API
typed snapshot
PostgreSQL
Drizzle
Admin CMS
better-auth
Revalidate
HMAC webhook
Analytics
no cookies
Visitorbrowser
Next.js sitetanim.my.id
Content APItyped snapshot
PostgreSQLDrizzle
Admin CMSbetter-auth
RevalidateHMAC webhook
Analyticsno cookies
Problem
Copy, projects and photos lived in code, so every edit meant a commit and a redeploy.
Built
A public Next.js 16 site that reads one typed content snapshot from an admin CMS (Next.js, Drizzle, PostgreSQL): 18 editable blocks, image uploads, a 3D expertise stack and a desktop-style second view.
One typed content API feeds both views of the site.
18 editable content blocks, declared once for the form and its validation.
Image uploads served by the admin; static fallback if the API is down.