Studio
Documentation for the Studio application in the monorepo.
Overview
- Located in
apps/studio. - Provides a UI for browsing and editing your PostgreSQL database using Prisma.
- Connects to the database defined in
packages/db/prisma.config.tsand.env(DATABASE_URL).
Features
- Visual Database Explorer: Browse, edit, and manage your data with a web UI.
- Model Support: Supports all models defined in your Prisma schema (User, Session, Account, TwoFactor, Verification).
- Safe Editing: Edit records, add new entries, and delete data with safety checks.
Usage
-
Ensure your database is running and
DATABASE_URLis set in your environment. -
Start Prisma Studio:
pnpm dev --filter studioThe Studio application runs on port 5555 (http://localhost:5555) by default.
-
Browse and edit your data visually.