All Projects โ†’ keonik โ†’ prisma-erd-generator

keonik / prisma-erd-generator

Licence: MIT license
Generate an ER Diagram based on your Prisma schema every time you run npx prisma generate

Programming Languages

typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to prisma-erd-generator

calendso
Scheduling infrastructure for absolutely everyone.
Stars: โœญ 13,100 (+5161.04%)
Mutual labels:  prisma
graphql-playground
๐ŸŽฎ GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
Stars: โœญ 8,103 (+3154.22%)
Mutual labels:  prisma
graphql-cli-generate-fragments
Generate Fragments for Graphql Schemas
Stars: โœญ 43 (-82.73%)
Mutual labels:  prisma
ds-visualizer
This is an ongoing project based on data structures. We will be presenting and explaining the code of each basic data structure with the help of a visualizer.
Stars: โœญ 14 (-94.38%)
Mutual labels:  prisma
stack
๐Ÿฅญ nxpm-stack lets you generate a complete and opinionated full-stack application in a Nx Workspace, ready to extend and deploy!
Stars: โœญ 98 (-60.64%)
Mutual labels:  prisma
prisma-client-py
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
Stars: โœญ 739 (+196.79%)
Mutual labels:  prisma
dataguide
๐Ÿ—„๏ธ Prisma's Data Guide - A growing library of articles focused on making databases more approachable.
Stars: โœญ 101 (-59.44%)
Mutual labels:  prisma
language-tools
๐ŸŒ Prisma Language Tools = Language Server and Prisma's VS Code extension.
Stars: โœญ 159 (-36.14%)
Mutual labels:  prisma
webstone
Start your next full-stack application with Webstone and configure it as you go.
Stars: โœญ 71 (-71.49%)
Mutual labels:  prisma
graphql-to-sql
GraphQL model to SQL
Stars: โœญ 13 (-94.78%)
Mutual labels:  prisma
quasar-starter-ssr-pwa-jest-cypress
Accelerated starter kit for building a quasar 17 app.
Stars: โœญ 49 (-80.32%)
Mutual labels:  prisma
thvu-blog
My digital home on the internet.
Stars: โœญ 51 (-79.52%)
Mutual labels:  prisma
fullstack-ts-boilerplate
Full-stack boilerplate in TS using modern technology
Stars: โœญ 25 (-89.96%)
Mutual labels:  prisma
vuepress-theme-cool
A custom vuepress theme with mermaid and plantuml, katex and vue components.
Stars: โœญ 57 (-77.11%)
Mutual labels:  mermaid
prisma-nestjs-graphql
Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module
Stars: โœญ 276 (+10.84%)
Mutual labels:  prisma
database-schema-examples
Database Schema Examples we strive to support in Prisma
Stars: โœญ 94 (-62.25%)
Mutual labels:  prisma
gondor
Nestjs Framework, Prisma database layer w/ Angular and Apollo.
Stars: โœญ 14 (-94.38%)
Mutual labels:  prisma
blitz
โšก๏ธThe Fullstack React Framework โ€” built on Next.js
Stars: โœญ 11,558 (+4541.77%)
Mutual labels:  prisma
dribbble-clone
FullStack GraphQL Dribbble Clone ๐Ÿ€
Stars: โœญ 29 (-88.35%)
Mutual labels:  prisma
plant erd
ERD exporter with PlantUML and mermaid format
Stars: โœญ 126 (-49.4%)
Mutual labels:  mermaid

Prisma Entity Relationship Diagram Generator

All Contributors

Prisma generator to create an ER Diagram every time you generate your prisma client.

Like this tool? @Skn0tt started this effort with his web app ER diagram generator

npm i -D prisma-erd-generator @mermaid-js/mermaid-cli
# or
yarn add -D prisma-erd-generator @mermaid-js/mermaid-cli

Add to your schema.prisma

generator erd {
  provider = "prisma-erd-generator"
}

Run the generator

npx prisma generate

Example ER Diagram

Options

Additional configuration

Output

Change output type and location

Usage

generator erd {
  provider = "prisma-erd-generator"
  output = "../ERD.svg"
}

Extensions

  • svg (default: ./prisma/ERD.svg)
  • png
  • pdf
  • md

Theme

Theme selection

Usage

generator erd {
  provider = "prisma-erd-generator"
  theme = "forest"
}

Options

  • default (default)
  • forest
  • dark
  • neutral

Disabled

You won't always need to generate a new ER diagram. To disabled running this generator just add an environment variable to the environment running prisma generate.

DISABLE_ERD=true

Debugging

If you have issues or are contributing to this repository, you may benefit from seeing logs of the steps to making your ERD. Enable debugging by adding the following environment variable and re-running prisma generate.

ERD_DEBUG=true

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


John Fay

๐Ÿšง ๐Ÿ’ป ๐Ÿค” ๐Ÿ›

Jonas Strassel

๐Ÿ› ๐Ÿ’ป

Steve Gray

๐Ÿ’ป ๐Ÿค”

Jason Abbott

๐Ÿ› ๐Ÿ’ป

Manuel Maute

๐Ÿ› ๐Ÿ’ป

James Homer

๐Ÿ’ป

Jan Piotrowski

๐Ÿ› ๐Ÿ’ป ๐Ÿ‘€

Luke Evers

๐Ÿ’ป

rikuyam

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].