prisma-planetscale

Stars
3

Prisma & PlanetScale Example

This is an example blog app showing the best practices when using Prisma with PlanetScale.

The app is built with Next.js, however, all the workflows demonstrated apply to other frameworks.

To learn more about Prisma & PlanetScale best practices check out the video accompanying this repository:

Installation

Clone the repo and install the dependencies:

# with npm
npm i

Set DATABASE_URL

Create .env by copying the example:

cp .env.example .env

Set the DATABASE_URL with the connection string from PlanetScale

Run the App

# with npm
npm run dev
Badges
Extracted from project README
Prisma Planetscale Best Practices Guide