Skip to content

Starter template repository for building publishable Prisma Client extensions

Notifications You must be signed in to change notification settings

prisma/prisma-client-extension-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma Client Extension starter repository

Use this template to bootstrap creating your Prisma Client extension.

Client extensions provide a powerful way to add functionality to Prisma Client in a type-safe manner. You can use them to create simple and flexible solutions that are not natively supported by Prisma.

If you would like to learn more, refer to the Prisma docs to learn more information.

Get started

Click the Use this template button and provide details for your Client extension

Install the dependencies:

npm install

Build the extension:

npm run build

Set up the example app:

cd example
npm install
npx prisma db push

Test the extension in the example app:

npm run dev

Evolve the extension

The code for the extension is located in the index.ts file. Feel free to update it before publishing your Client extension to npm.

Learn more

About

Starter template repository for building publishable Prisma Client extensions

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published