Mmastodon TechnologySoftware first seen 16 h ago, last 16 h ago, peak #1
Developer documents Prisma-PostgreSQL backend build for Next.js on Vercel
Original: Adding a Prisma‑PostgreSQL Checklist Backend to a Next.js App on Vercel TL;DR: I added a postinstall hook to run prisma
A developer has published a walkthrough of adding a full CRUD checklist API to a Next.js 14 app using Prisma and PostgreSQL, deployed on Vercel. The key fix was a postinstall hook running prisma generate so the project compiles during Vercel builds, solving a common deployment issue for database-backed Next.js apps.
Why now: Vercel build failures with Prisma code generation are a common pain point for developers deploying database-backed Next.js apps.
Evidence
- Adding a Prisma‑PostgreSQL Checklist Backend to a Next.js App on Vercel TL;DR: I added a postinstall hook to run prisma generate during Vercel builds and built a full CRUD checklist API with Prisma, PostgreSQL, and Next.js 14. The changes let the app compile on Vercel, expose… · hackaday@www.urbanmind.net · 4
API: https://socialmediatrends-api.osmike.com/v1/trends/1770611