Post

Introducing Platforms Starter Kit v2 → app.vercel.pub It's an open-source @nextjs.org template for you to build multi-tenant apps with custom domains in days, not months. Built with Next.js App Router and the @vercel.com Domains API Video demo: https://youtu.be/qqo6nSCrqio

youtu.beIntroducing the Vercel Platforms Starter KitIntroducing the Vercel Platforms Starter Kit: https://app.vercel.pub/A full-stack template for building multi-tenant applications with custom domains using N...

This template is jam-packed with lots of useful features for building platforms on Vercel. 1. Programmatically managing custom domains Forget manually setting up custom server rewrite rules with NGINX. Vercel's Domains API makes things simple: https://vercel.fyi/9caERPH

2. On-demand cache invalidation By using @nextjs' new `revalidateTag` API + Vercel's ISR feature (https://vercel.fyi/isr), we are able to cache content pages + revalidate them when users make changes to them. Best part? Changes get propagated in <500ms, globally ⚡

4. Custom fonts, 404 pages, favicons, sitemaps for each site Thanks to @nextjs.org file-based Metadata API, we are able to customize the look and feel of each site. Best part? `revalidateTag` allows us to perform cache invalidations faster and more efficiently when changes happen.