Skip to content

feat(docs): add Next.js on Vercel guide for Prisma Postgres#7878

Open
aidankmcalister wants to merge 1 commit intomainfrom
feat/docs-nextjs-vercel-quickstart
Open

feat(docs): add Next.js on Vercel guide for Prisma Postgres#7878
aidankmcalister wants to merge 1 commit intomainfrom
feat/docs-nextjs-vercel-quickstart

Conversation

@aidankmcalister
Copy link
Copy Markdown
Member

@aidankmcalister aidankmcalister commented May 7, 2026

Linear: DR-8359

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive guide for using Prisma Postgres with Next.js deployed to Vercel, including setup, configuration, schema definition, client initialization, server component integration, and deployment instructions.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment May 7, 2026 2:15pm
docs Ready Ready Preview, Comment May 7, 2026 2:15pm
eclipse Ready Ready Preview, Comment May 7, 2026 2:15pm
site Ready Ready Preview, Comment May 7, 2026 2:15pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

🍈 Lychee Link Check Report

8 links: ✅ 1 OK | 🚫 0 errors | 🔀 2 redirects | 👻 5 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 1
🔀 Redirected 2
👻 Excluded 5
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 7, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - May 7, 2026, 2:30 PM

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5e78afa9-1149-48eb-b71d-46ef1b7eb569

📥 Commits

Reviewing files that changed from the base of the PR and between 701c5f6 and 9234919.

📒 Files selected for processing (2)
  • apps/docs/content/docs/guides/postgres/meta.json
  • apps/docs/content/docs/guides/postgres/nextjs-vercel.mdx

Walkthrough

This PR adds comprehensive documentation for using Prisma Postgres with Next.js deployed on Vercel. The metadata registry is updated to include the new nextjs-vercel guide page, followed by a detailed 254-line MDX guide covering initialization, schema setup, Prisma Client configuration, usage examples, and Vercel deployment steps.

Changes

Postgres Next.js Vercel Integration Guide

Layer / File(s) Summary
Guide Metadata Registration
apps/docs/content/docs/guides/postgres/meta.json
The pages array is extended to register nextjs-vercel as a new guide entry alongside existing deployment guides.
Guide Content: Next.js on Vercel Integration
apps/docs/content/docs/guides/postgres/nextjs-vercel.mdx
Complete step-by-step guide covering Next.js setup, Prisma Postgres integration, environment configuration via prisma.config.ts, PrismaPg client singleton pattern with process.env.DATABASE_URL, usage in Server Components and Route Handlers, and Vercel deployment including postinstall script and DATABASE_URL environment configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: adding a Next.js on Vercel guide for Prisma Postgres, which is exactly what the changeset delivers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Microsoft Presidio Analyzer (2.2.362)
apps/docs/content/docs/guides/postgres/meta.json

Microsoft Presidio Analyzer failed to scan this file


Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant