Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🚀 Ready-to-run Prisma example projects

License

NotificationsYou must be signed in to change notification settings

prisma/prisma-examples


Ready-to-run Prisma example projects 🚀

Website  •  Docs  •  Blog  •  Discord  •  Twitter  •  Demo videos


This repository contains a number of ready-to-run example projects demonstrating various use cases of Prisma. Pick an example and follow the instructions in the corresponding README.

You can also find links toreal-world and production ready examples further below in this README.

Are you missing an example? Please feel free toopen an issue (read thecontribution guidelines for more info).

Prisma ORM

Fullstack

DemoDescription
nextjs-api-routesNext.js app with a REST API (usingNext.js API routes)
nextjs-graphqlNext.js app with a GraphQL API (usingApollo Server andGraphQL Nexus)
nextjs-trpcNext.js app withtRPC
nuxtNuxt.js app with a REST API
sveltekitSvelteKit app using SvelteKit'sactions andload functions
remixRemix app
nuxt-prisma-moduleA nuxt example app using thePrisma Nuxt module

Backend only

DemoDescription
graphql-authGraphQL server with email-password authentication & permissions
graphql-sdl-firstGraphQL server based onGraphQL Yoga
graphql-subscriptionsGraphQL server with realtime subscriptions based onapollo-server andNexus Schema
graphql-typegraphqlGraphQL server based on@apollo/server andTypeGraphQL
graphql-typegraphql-crudCRUD GraphQL API based on@apollo/server andTypeGraphQL
fastify-graphqlGraphQL server based onFastify,Mercurius, and the SDL-first approach ofgraphql-tools
fastify-graphql-sdl-firstGraphQL server based onFastify,Mercurius, and the SDL-first approach ofgraphql-tools
hapi-graphqlGraphQL server based onHapi andNexus Schema
hapi-graphql-sdl-firstGraphQL server based onHapi and the SDL-first approach ofApollo Server Integration for Hapi
nest-graphqlGraphQL server based onNestJS (code-first)
nest-graphql-sdl-firstGraphQL server based onNestJS and the SDL-first approach ofgraphql-tools
graphqlGraphQL server based onGraphQL Yoga andPothos
graphql-nexusGraphQL server based on@apollo/server andNexus Schema
grpcgRPC API including runnable client scripts for testing
postgis-expressDemo of spatial queries usingPostgis andExpress
expressREST API withExpress
fastifyREST API withFastify
koaREST API withKoa
hapiREST API withhapi
nestREST API withNestJS
scriptUsage of Prisma Client JS in a TypeScript script
testing-expressDemo of integration tests withJest,Supertest andExpress

Newprisma-client generator

The following examples are fullstack examples using the newprisma-client generator:

DemoDescription
nextjs-starter-webpackA Next.js 15 starter that uses Webpack 5 as the bundler and runs on Node.js.
nextjs-starter-turbopackA Next.js 15 starter powered by Turbopack (alpha) for bundling, running on Node.js.
neextjs-starter-webpack-monorepoA monorepo-based Next.js 15 starter using Webpack 5 and Node.js, managed withpnpm.
nextjs-starter-webpack-with-middlewareA Next.js 15 starter with Webpack 5, running on Node.js for main pages and Vercel Edge Light for middleware.

Prisma Accelerate

Theaccelerate folder contains examples of projects usingPrisma Accelerate for connection pooling and global caching.

DemoDescription
starterA simple starter project using Prisma Accelerate's caching and connection pooling
nextjs-starterA Next.js project using Prisma Accelerate's caching and connection pooling
svelte-starterA SvelteKit project using Prisma Accelerate's caching and connection pooling
solidstart-starterA Solidstart project using Prisma Accelerate's caching and connection pooling
remix-starterA Remix project using Prisma Accelerate's caching and connection pooling
nuxt-starterA Nuxt.js project using Prisma Accelerate's caching and connection pooling
astro-starterAn Astro project using Prisma Accelerate's caching and connection pooling

Prisma Optimize

Theoptimize folder contains examples of projects usingPrisma Optimize to identify and improve the performance of slow queries.

DemoDescription
starterA Prisma Optimize starter app
optimize-excessive-rowsAn example app demonstrating the "Excessive number of rows returned" recommendation provided by Optimize.
optimize-full-table-scanAn example app demonstrating the "Full table scans caused byLIKE operations" recommendation provided by Optimize.
optimize-unindexed-columnAn example app demonstrating the "Query filtering on an unindexed column" recommendation provided by Optimize.

Deployment platforms

The projects in thedeployment-platforms directory show what "Prisma Client"-based deployment setups look like for various deployment providers. Learn more aboutdeployment in the Prisma documentation.

Real-world & production-ready example projects with Prisma

  • Inbox Zero: Open source email management tools to reach inbox zero fast
  • NextCRM: An open-source Customer Relationship Management system (CRM)
  • Papermark: An open-source DocSend alternative with built-in analytics and custom domains
  • Hoppscotch: An open-source API development ecosystem
  • FeastQR: An open-source SaaS online menu system for restaurants
  • Formbricks: An open-source survey and experience management tool
  • OpenformStack: An open-source form backend that allows you to collect form submissions without writing any backend code
  • Documenso: An open-source alternative to Docusign
  • abby: An open-source feature flag, remote config and A/B testing platform for developers
  • ghostfolio: An open-source dashboard for your personal finances
  • revert: An open-source unified API to build B2B product integrations
  • Scholarsome: An interactive, studying system
  • Dittofeed: An open-source customer engagement; intuitive marketing tools that scale
  • Trigger.dev: Effortless automation built for developers (Zapier alternative)
  • Webstudio: A NoCode visual design tool for building apps and websites
  • Dyrector: A self-hosted container management platform
  • reduced.to: An open-source link shortener
  • Linen: An open-source alternative to Slack and Discord with lots of great features
  • Coolify: An open-source & self-hostable Heroku / Netlify alternative
  • Dub.co: An open-source link management platform for modern marketing teams
  • Umami: A simple, fast, privacy-focused alternative to Google Analytics
  • Rallly: A self-hostable doodle poll alternative (based on Next.js, tRPC, and TailwindCSS)
  • Typebot: A conversational form builder that you can self-host
  • Cal.com: An open-source alternative to Calendly (calender-based event scheduling service)
  • Beam: A simple tool that allows members to write posts to share across your organization (based on Next.js)
  • Dundring: An in-browser training application created to control and track you training with a smart bike trainer
  • Expense.fyi: A tool for tracking and managing expenses
  • Letterpad: A publishing platform for creatives
  • Teable: A no-code real-time database built on Postgres with a simple interface for enterprise-level app development.

Starter kits

  • T3 Stack: Starter kit based on Next.js, TypeScript, tRPC, Prisma, Tailwind CSS, and NextAuth.js.
  • Indie Stack: Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, and formatting.
  • Blues Stack: Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, and formatting.
  • NestJS Prisma Starter: NestJS, Prisma, and authentication starter template.
  • Supastarter: Full-stack SaaS starter kit using Next.js/Nuxt.js/SvelteKit and Prisma with authentication, emails, payment, testing, linting, and formatting.
  • Saas Kit Prisma: Full-stack SaaS starter kit using React.js, Next.js, TypeScript, Tailwind, Shadcn, Stripe, NextAuth, Prisma, Postgres, and Playwright.
  • Saas Kit Prisma by BoxyHQ: An open-source enterprise SaaS starter kit using Prisma ORM.
  • NextReady: A ready-to-use Next.js boilerplate with Prisma, TypeScript, Tailwind CSS, and more.

Badges

Made with PrismaMade with Prisma

Built something awesome with Prisma? 🌟 Show it off with thesebadges, perfect for your readme or website.

[![Made with Prisma](http://made-with.prisma.io/dark.svg)](https://prisma.io)
[![Made with Prisma](http://made-with.prisma.io/indigo.svg)](https://prisma.io)

Security

If you have a security issue to report, please contact us atsecurity@prisma.io


[8]ページ先頭

©2009-2025 Movatter.jp