prisma · Prisma Docs
Prisma Astro (/docs/guides/frameworks/astro)
A collection of integration guides for using Prisma ORM with various web frameworks including Elysia, Hono, NestJS, Next.js, and Nuxt.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Prisma Astro (/docs/guides/frameworks/astro)
A collection of integration guides for using Prisma ORM with various web frameworks including Elysia, Hono, NestJS, Next.js, and Nuxt.
When To Use
Use when integrating Prisma ORM into a specific web framework like Next.js, Nuxt, or NestJS to establish database connectivity and schema management.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-astro-docs-guides-frameworks-workflow-guide.md | A guide explaining how to integrate and use Prisma ORM within an Astro framework application. | Questions about a guide explaining how to integrate and use Prisma ORM within an Astro framework application. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization-.bash | The bash command used to scaffold a new Astro project using the Prisma template. | Exact payloads, commands, or snippets shown in The bash command used to scaffold a new Astro project using the Prisma template. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--2.bash | A bash command to initialize a new Astro project using the Prisma template via pnpm. | Exact payloads, commands, or snippets shown in A bash command to initialize a new Astro project using the Prisma template via pnpm. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command.bash | The bash command to initialize a new Prisma project using the Astro template. | Exact payloads, commands, or snippets shown in The bash command to initialize a new Prisma project using the Astro template. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-create-template-com.bash | A bash command to initialize a new Prisma project using the Astro template via the bun package manager. | Exact payloads, commands, or snippets shown in A bash command to initialize a new Prisma project using the Astro template via the bun package manager. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-create-project-command.bash | The bash command used to initialize a new Astro project via the create-astro CLI. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via the create-astro CLI. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--3.bash | The bash command used to initialize a new Astro project via pnpm dlx. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via pnpm dlx. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--4.bash | The bash command used to initialize a new Astro project via yarn dlx. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via yarn dlx. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--5.bash | A bash command to initialize a new Astro project using the bunx create-astro utility. | Exact payloads, commands, or snippets shown in A bash command to initialize a new Astro project using the bunx create-astro utility. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-commands.bash | Bash commands to initialize and navigate the astro-prisma project directory. | Exact payloads, commands, or snippets shown in Bash commands to initialize and navigate the astro-prisma project directory. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-dependencies.bash | Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. | Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-install-dependencies.bash | Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. | Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-install-dependencies-2.bash | Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. | Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-install-dependencie.bash | A bash command to install prisma, tsx, and postgres types using the bun package manager for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to install prisma, tsx, and postgres types using the bun package manager for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-npm-install-dependencie.bash | The bash command to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project. | Exact payloads, commands, or snippets shown in The bash command to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-install-dependenci.bash | A bash command to install the Prisma client, PostgreSQL adapter, dotenv, and pg packages using pnpm for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to install the Prisma client, PostgreSQL adapter, dotenv, and pg packages using pnpm for an Astro proj... |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-installation-commands.bash | Bash commands to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project. | Exact payloads, commands, or snippets shown in Bash commands to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-install-dependencie-2.bash | A bash command to install Prisma client, PostgreSQL adapter, and dotenv using the bun package manager for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to install Prisma client, PostgreSQL adapter, and dotenv using the bun package manager for an Astro pr... |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command.bash | A bash command to initialize Prisma with a custom output directory for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command-2.bash | A bash command to initialize Prisma with a custom output directory for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command-3.bash | A bash command to initialize Prisma with a custom output directory for an Astro project. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-init-command.bash | A bash command using bunx to initialize Prisma with a specific output directory for an Astro project. | Exact payloads, commands, or snippets shown in A bash command using bunx to initialize Prisma with a specific output directory for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command-2.bash | The bash command used to initialize a new project with Prisma and Astro. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new project with Prisma and Astro. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command-3.bash | A bash command to initialize a new project using the create-db utility for Prisma with Astro. | Exact payloads, commands, or snippets shown in A bash command to initialize a new project using the create-db utility for Prisma with Astro. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-db-command.bash | A bash command using yarn dlx to create a database for a Prisma Astro project. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to create a database for a Prisma Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-create-db-command.bash | A bash command using bunx to execute the create-db utility for a Prisma Astro project. | Exact payloads, commands, or snippets shown in A bash command using bunx to execute the create-db utility for a Prisma Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-definition.prisma | A Prisma schema file defining User and Post models for use within an Astro framework project. | Exact payloads, commands, or snippets shown in A Prisma schema file defining User and Post models for use within an Astro framework project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-config-typescript.ts | A TypeScript configuration file for integrating Prisma with the Astro framework using dotenv for environment variable management. | Exact payloads, commands, or snippets shown in A TypeScript configuration file for integrating Prisma with the Astro framework using dotenv for environment variable... |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-migrate-dev-init.bash | A bash command to initialize a Prisma database migration within an Astro project. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-migrate-dev-init.bash | A bash command to initialize a Prisma database migration using pnpm in an Astro project. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration using pnpm in an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-migrate-dev-init-comman.bash | A bash command to initialize a Prisma database migration within an Astro project using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within an Astro project using yarn dlx. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-migrate-dev-comman.bash | A bash command using bunx to run a Prisma database migration within an Astro project. | Exact payloads, commands, or snippets shown in A bash command using bunx to run a Prisma database migration within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-generate-command.bash | The bash command used to generate the Prisma client within an Astro project environment. | Exact payloads, commands, or snippets shown in The bash command used to generate the Prisma client within an Astro project environment. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-generate-command.bash | A bash command to generate the Prisma client using pnpm in an Astro project. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using pnpm in an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-generate-command-2.bash | A bash command to generate the Prisma client using yarn dlx within an Astro project. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using yarn dlx within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-generate-command.bash | A bash command using bunx to run the prisma generate operation within an Astro project environment. | Exact payloads, commands, or snippets shown in A bash command using bunx to run the prisma generate operation within an Astro project environment. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-client-setup.typescript | A TypeScript code example demonstrating how to initialize the Prisma Client and a database adapter within an Astro project. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize the Prisma Client and a database adapter within an Astro pr... |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-config-typescript-2.ts | A TypeScript configuration file for setting up Prisma within an Astro project framework. | Exact payloads, commands, or snippets shown in A TypeScript configuration file for setting up Prisma within an Astro project framework. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command.bash | A bash command used to execute the database seeding process within an Astro project using Prisma. | Exact payloads, commands, or snippets shown in A bash command used to execute the database seeding process within an Astro project using Prisma. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command-2.bash | A bash command to execute the Prisma database seeding process within an Astro project using pnpm. | Exact payloads, commands, or snippets shown in A bash command to execute the Prisma database seeding process within an Astro project using pnpm. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command-3.bash | A bash command used to execute the Prisma database seeding process within an Astro project. | Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma database seeding process within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-db-seed-command.bash | A bash command used to seed the database using bunx and the prisma cli within an Astro project. | Exact payloads, commands, or snippets shown in A bash command used to seed the database using bunx and the prisma cli within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command.bash | A bash command to launch Prisma Studio within an Astro project environment. | Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio within an Astro project environment. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command-2.bash | A bash command to launch Prisma Studio using pnpm dlx within an Astro project environment. | Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio using pnpm dlx within an Astro project environment. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command-3.bash | A bash command to run Prisma Studio using the yarn dlx executor within an Astro project environment. | Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio using the yarn dlx executor within an Astro project environment. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-prisma-studio-comm.bash | A bash command to run Prisma Studio using the Bun runtime within an Astro project. | Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio using the Bun runtime within an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-env-interfac.typescript | A TypeScript implementation defining the ImportMetaEnv and ImportMeta interfaces for integrating Prisma with Astro. | Exact payloads, commands, or snippets shown in A TypeScript implementation defining the ImportMetaEnv and ImportMeta interfaces for integrating Prisma with Astro. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-commands-2.bash | Bash commands to create the src/lib directory and the prisma.ts client file for an Astro project. | Exact payloads, commands, or snippets shown in Bash commands to create the src/lib directory and the prisma.ts client file for an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-client-setup-2.typescript | A TypeScript implementation demonstrating how to initialize the PrismaClient within an Astro project using environment variables. | Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize the PrismaClient within an Astro project using environmen... |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-directory-command.bash | Bash commands to create the directory structure and files required for a Prisma integration in an Astro project. | Exact payloads, commands, or snippets shown in Bash commands to create the directory structure and files required for a Prisma integration in an Astro project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-api-route-ge.typescript | A TypeScript example demonstrating how to use Prisma within an Astro API route to fetch users and their posts. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma within an Astro API route to fetch users and their posts. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-tsx-data-fetching.tsx | A TypeScript React component demonstrating how to fetch and display Prisma data within an Astro framework component. | Exact payloads, commands, or snippets shown in A TypeScript React component demonstrating how to fetch and display Prisma data within an Astro framework component. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command.bash | The bash command used to start the Astro development server in a Prisma project. | Exact payloads, commands, or snippets shown in The bash command used to start the Astro development server in a Prisma project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command-2.bash | The bash command used to run the Astro development server in a Prisma project. | Exact payloads, commands, or snippets shown in The bash command used to run the Astro development server in a Prisma project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command-3.bash | The bash command used to start the Astro development server in a Prisma project. | Exact payloads, commands, or snippets shown in The bash command used to start the Astro development server in a Prisma project. |
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-dev-command.bash | The bash command used to run the Astro development server with Bun. | Exact payloads, commands, or snippets shown in The bash command used to run the Astro development server with Bun. |
What This Skill Covers
-
- Elysia: Learn how to use Prisma ORM in an Elysia app - Hono: Learn how to use Prisma ORM in a Hono app - NestJS: Learn how to use Prisma ORM in a NestJS ap...
- Main sections:
Related pages.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://www.prisma.io/docs/guides/frameworks/astro