Prisma
@prisma.io
4 months ago β
Checkpoint: App + DB are working locally!
π¬ 1
β»οΈ 0
β€οΈ 0
β
Checkpoint: App + DB are working locally! π Step 6: Run Postgres and apply migrations
Start the DB and initialize the schema: π Step 5: Set up PostgreSQL with Docker Compose
Create a `docker-compose.postgres.yaml` file: π§Ύ Step 4: Add scripts to package.json
These scripts help you run the app and deploy migrations: π§βπ» Step 3: Create an Express server
Set up a simple API in `index.js` to read users from the database: π¦ Step 2: Initialize Prisma and define your schema π Step 1: Set up your Node.js app π³ Spin up a @nodejs + Prisma app inside @Docker
Weβll walk you through how to set up, develop, and run the entire stack. Containerized and ready to ship π π Ready-to-run examples with our new ESM-first Prisma Client generator!
β
Next.js with Turbopack, Webpack, monorepos, ...
β
Nuxt.js with Node.js
β
React Router with with Node.js & Cloudflare
π Check them out and try them here: pris.ly/pcgen-examp... βοΈ The `prisma.config.ts` file just got some new capabilities:
You can now explicitly set the folder locations for:
π Migrations
π SQL views
π TypedSQL queries
π Learn more in the docs: pris.ly/prisma-conf... So everyone is telling me! I might extend the trip a little
Zed has a brand new visual keymap editor coming to Stable (v0.196) this coming Wednesday. Discover and edit bindings faster and easier than ever before!
A lot of teams build with Prisma, but not everyone knows we offer hands-on support for scaling, security & production issues.
If you need priority Prisma ORM expert guidance, the Enterprise Support program has you covered π
pris.ly/prisma-ente... Turns out thereβs a big lgbt street festival in Berlin today? :O
extremely good new album alert forthwanderers.bandcamp.com/album/the-lo... i had a dream i got more tattoos guess i gotta
The new generator is very close to being production-ready and will become the default way to use Prisma ORM with Prisma 7.
We also published a number of ready-to-run examples for using it with various frameworks, bundlers and runtimesβcheck them out!
pris.ly/pcgen-examp... π Our new ESM-compatible `prisma-client` generator has just moved into Preview:
β
No more magic generation into `node_modules`
β
More flexibility thanks to additional config fields
β
Generated code is fully under control by the developer
pris.ly/new-generat... Iβm gonna be in Berlin next week if anyone fancies a coffee π
π£ New changelog:
π ESM-compatible generator in Preview
βοΈ Specify `views` and `migrations` folders in `prisma.config.ts`
π€ Blog: How Co.dev gives Prisma Postgres DBs in their AI app builder
... and more
pris.ly/changelog?u... unfortunately i have written a personal llm policy github.com/tmcw/tmcw/bl... π Also check out the release notes on GitHub for a full overview!
pris.ly/release/6.1... π Prisma ORM v6.12.0 & new Prisma Postgres features are out!
β
ESM-compatible generator in Preview
β
New options for Prisma Config
pris.ly/launch/6.12... unfortunately necessary to update my github status today