Neon Max
Instant Next.js App with Neon Database
Neon Database
Next.js
Authentication
Authorization
Neon Max CLI
Neon Max is powered by Neon's Serverless Postgres Database. Head over to Neon and provide your serverless database URL string to the .env
file.
1DATABASE_URL="postgresql://<user>:<password>@<endpoint_hostname>.neon.tech:<port>/<dbname>?sslmode=require"
While Neon Max uses Prisma as a database ORM, you can still use Neon to execute raw queries for limitless flexibility:
1import { neon } from "@neondatabase/serverless";23const sql = neon(process.env.DATABASE_URL);4const response = await sql`SELECT version()`;