Skip to content

Instantly share code, notes, and snippets.

View dragcotech's full-sized avatar

Bernie Dante dragcotech

View GitHub Profile
@dragcotech
dragcotech / nextjs-and-prisma.md
Created January 17, 2022 16:07 — forked from nikolasburk/nextjs-and-prisma.md
Fullstack Apps with Next.js and Prisma (PostgreSQL, MySQL & SQLite)

🚀 Fullstack Apps with Next.js and Prisma

Next.js blurs the lines between client and server. It supports pre-rendering pages at build time (SSG) or request time (SSR). Prisma is the perfect companion if you need to work with a database in a Next.js app.

Here is a list of example apps that are based on Next.js and use Prisma on the server to access data from a database:

✍️ Language 🤖 Server 🔐 Authentication 🔗 URL
TypeScript API Routes Yes (via NextAuth.js) URL
TypeScript API Routes No