Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Introducing the Vercel Platforms Starter Kit

Vercel News·Steven Tey·4 days ago
#UTEcL8hy
#vercel#domains#custom#multi#using#photo
Reading 0:00
15s threshold

A fullstack template for building multi-tenant applications with custom domains using Next.js App Router, Vercel Postgres, and the Vercel Domains API. Platforms Starter Kit Next.js template for building multi-tenant applications with custom domains using App Router, Vercel Postgres, and the Vercel Domains API. View Template Link to heading Multi-tenant apps in days, not months Here's an example code snippet demonstrating how to use it within Next.js: import { geolocation } from '@vercel/functions' ; export function GET ( request : Request ) { const { city } = geolocation ( request ) ; return new Response ( ` <h1>Your location is ${ city } </h1> ` , { headers : { 'content-type' : 'text/html' } , } ) ; } Reading the city from the geo IP headers in a Vercel Edge Function. In the above example, we import the geolocation helper from @vercel/edge . The Platforms Starter Kit comes with powerful features that lets you build multi-tenant apps in record time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More