Develop Prisma Service
Prisma services provide a GraphQL mapping to your database. Each Prisma service exposes a GraphQL CRUD/realtime API, called the Prisma API. The GraphQL schema defining the operations of the Prisma API is called the Prisma GraphQL schema. The Prisma GraphQL schema is auto-generated based on your data model.
A Prisma service is defined by a service configuration which consists of:
- A prisma.yml configuration file
- A data model written in GraphQL SDL
This chapter explains how to configure, manage and deploy your Prisma services.
Service Configuration
Page | Description |
---|---|
Data Model | Learn everything about the Prisma data model which serves as foundation for the CRUD operations in the Prisma API. |
prisma.yml | Think of prisma.yml as the template for a Prisma service. |
Prisma CLI
Page | Description |
---|---|
Using the Prisma CLI | Learn how to use the Prisma CLI. |
CLI Command Reference | Learn the details of all CLI commands. |
Workflows
Page | Description |
---|---|
Connecting An Existing Database (Introspection) | Learn how to use Prisma with your existing database. |
Data Import & Export | Learn how to import and export data using Prisma. |
Server-side Subscriptions | Learn how to configure webhooks for subscription events. |
Migrations | Learn how to perform database migrations using Prisma. |