Prisma

Prisma 凭借其直观的数据模型、自动迁移、类型安全和自动补齐功能,为开发者在使用数据库时带来全新的体验。

¥Prisma unlocks a new level of developer experience when working with databases thanks to its intuitive data model, automated migrations, type-safety & auto-completion.

官方指南 描述了如何将 Prisma 集成到 Turborepo 中,包括:

¥Their official guide describes how to integrate Prisma into a Turborepo, including:

  • Prisma 客户端初始化

    ¥Prisma client initialization

  • 将客户端打包为 内部包

    ¥Packaging the client as an Internal Package

  • 执行迁移

    ¥Performing migrations

  • 在本地处理你的应用

    ¥Working on your applications locally

  • 部署中

    ¥Deploying

示例

¥Example

要开始使用我们社区支持的 Prisma 示例,请运行:

¥To get started with our community-supported Prisma example, run:

Terminal
npx create-turbo@latest -e with-prisma