How the F**** does anyone use Prisma in production?

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

  • What we don't support at the moment are "long-running transactions". There are several reasons for this. First, transactions are very often misused and their use cases are better realized with dedicated and safer APIs. That's why we offer bulk operations, nested writes, atomic operators, and transaction batches to make sure developers don't accidentally shoot themselves in the foot. We are also working on bringing optimistic concurrency control (OCC) to the Prisma Client API to enable even more use cases. TLDR: Long-running transactions are a powerful tool, but they're also low-level and many of their use cases are implement more safely with dedicated APIs – which is what Prisma is trying to achieve. Another reason why we don't support them at the moment is that long-running transactions typically don't scale well in serverless environments and we want to help developers build their applications in a way that's compatible with modern deployment models.

  • typegraphql-prisma

    Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema

  • There are also several tools that allow you generate a GraphQL CRUD API based on Prisma, such as Amplication, KeystoneJS or typegraphql-prisma.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • KeystoneJS

    The most powerful headless CMS for Node.js — built with GraphQL and React

  • There are also several tools that allow you generate a GraphQL CRUD API based on Prisma, such as Amplication, KeystoneJS or typegraphql-prisma.

  • amplication

    🔥🔥🔥 Open-source backend development platform. Build production-ready services without wasting time on repetitive coding.

  • There are also several tools that allow you generate a GraphQL CRUD API based on Prisma, such as Amplication, KeystoneJS or typegraphql-prisma.

  • docs

    📚 Prisma Documentation (by prisma)

  • Ha, thanks a lot for catching this, just fixed it ✅

  • Knex

    A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

  • I see that knex does support some typing. But you have to define what you expect it to return. So would you have type interfaces for each usage of knex, or would you rather define it in a prisma schema once and have your types for free beyond that.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts