docs(guides): Vike guide with Prisma ORM, Prisma Postgres, and Prisma Compute #8929
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 478 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.369
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8929"
general
weight: 0.35
ankur-arch
Summary
Adds a Vike guide at
/guides/frameworks/vike: Prisma ORM 8, Prisma Postgres, and a deploy to Prisma Compute. The Vike maintainer asked for the guide to live in our docs so that Vike's docs can link to it (vikejs/vike#3764).Live app built from the guide: https://aw80ht086gwcnp09uxc2vjlb.ewr.prisma.build/todo
What the guide does
It persists the to-do page that Vike's scaffolder already ships. The reader runs
npm create vike@latest -- --react --hono, adds Prisma ORM withorm init, and changes two scaffolded files: the+datahook reads to-dos and the Hono handler writes them. No new UI is needed.The deploy needs no Vite adapter. Compute runs the server that
vike buildwrites todist/server/index.mjs. The guide addsservice.ts,module.ts, and acomposersection inprisma.config.ts, following thecreate-prismaSvelteKit template, so the deploy creates the database and appliesmigrations/.It also covers the two things readers ask next: changing the schema (emit, plan, migrate, deploy) and environment variables (local
.env, noDATABASE_URLon Compute,prisma project env addfor the rest).Changes
guides/frameworks/vike.mdx: the guide.guides/frameworks/meta.jsonandguides/index.mdx: navigation entry and overview card.public/img/technologies/vike.svg: the official logo fromvikejs/vike(docs/assets/logo/vike.svg), unmodified. It is square and reads well on light and dark backgrounds. Like the SolidStart and React Router logos, it is not on the home page framework picker, which holds ten tiles.cspell.json:Vike,vike,vikejs,scaffolder.There is no Prisma ORM 7 version of this guide, so it has no "Using Prisma ORM 7?" note.
Validation
The guide was run twice against real infrastructure. I built it once by hand, then a clean-room run applied only the commands and code blocks from the page to a fresh scaffold. Every step passed without a fix.
db initon acreate-dbdatabase, write throughPOST /api/todo/create, read back on/todo,tsc --noEmitclean after every step.prisma dev: built server against the local database, write and read.donecolumn) and a redeploy that kept the URL and the data.GREETINGset withproject env addreachedprocess.envafter the next deploy.types:check,lint:links,lint:versions,lint:images, spellcheck onguides/,oxfmt --check, and the AI-signs prose check pass. The page and its.mdroute return 200 on the dev server.Versions: Node.js 24.11.1,
vike0.4.270,vike-react0.6.32,@vikejs/hono0.4.1,hono4.13.22,vite8.3.8,prisma8.0.0-rc.35,@prisma/orm-postgres8.0.0-rc.25,@prisma/composerand@prisma/composer-prisma-cloud0.40.0.Follow-ups
my-vike-app(the live app above) andvike-prisma-app.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
- Added a Vike guide covering application setup, Prisma ORM and database configuration, database-backed page reads and to-do creation, local development, migrations, and deployment to Prisma Compute.
- Included guidance on environment variables, schema updates, common setup issues, and using coding agents with the scaffold.
- Added the guide to the Frameworks listings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->