A demo of using Nuxt Server Components and Vercel Postgres, legally
My personal attempt to use Postgres directly from a Nuxt Server Component.
Based from Guillermo’s How is this not illegal Next.js example.
undefinedBonus: I added an input to dynamically control the limit returned by the server component :sparkes:
psql command-f sql/init.sql like so to populate the database with some data:psql "postgres://{user}:{password}@{name}.{location}.postgres.vercel-storage.com:5432/verceldb" -f init.sql
pnpm i
pnpm dev
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.