Prisma ORM Configuration

Configure Prisma ORM for type-safe database operations and schema management.

Prisma is configured in the @kit/database package for type-safe database operations. In this package, we define the database connection and the schema.

  • Schema: The schema is defined in the packages/database/src/prisma/schema.prisma file.
  • Generated Client: The Prisma client is generated to packages/database/src/prisma/generated.
  • Client: The database client is defined in the packages/database/src/client.ts file, which can be imported in your application to interact with the database.

Next: Schema Overview →