Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nerdify/db-schema-diagram
Attempt to create a opensource alternative to dbdiagram.io. Including DSL parser and Diagram Viewer
https://github.com/nerdify/db-schema-diagram
Last synced: about 2 months ago
JSON representation
Attempt to create a opensource alternative to dbdiagram.io. Including DSL parser and Diagram Viewer
- Host: GitHub
- URL: https://github.com/nerdify/db-schema-diagram
- Owner: nerdify
- License: mit
- Created: 2020-05-10T04:48:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T01:01:32.000Z (12 months ago)
- Last Synced: 2024-04-14T12:53:52.914Z (9 months ago)
- Language: CSS
- Homepage: https://clever-johnson-061743.netlify.app
- Size: 1.16 MB
- Stars: 58
- Watchers: 5
- Forks: 29
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DBScheme Parser [beta]
dbdiagram.io is an awesome tool, in nerdify we use it a lot. But sometime we wish to have a light open source alternative.
# Goals
1. Create a parser with fully sintax fully compatible con dbdiagram.io [check milestone [ #1](https://github.com/nerdify/db-schema-diagram/milestone/1)]
2. Develop a light component to render ER diagrams# Sintax
You can try a demo here: [here](https://sad-bell-d1d31e.netlify.app/)enum status {
open
closed
}
Table categories {
id integer [primary key]
name varchar
}
Table products {
id integer [primary key]
category_id integer
name varchar
}
Ref: products.category_id > categories.idWill result
![Screenshot-20200519002039-972x516](https://user-images.githubusercontent.com/1248659/82293806-60552f80-996a-11ea-9bcf-d4438486613a.png)