drawdb-io/drawdb

Free, simple, and intuitive online database diagram editor and SQL generator.

★ 39,820Forks 3,280JavaScriptGitHub ↗Compare

Project website ↗

databasedatabase-designdatabase-diagramdatabase-schemadbmldiagram-editoreditorer-diagramerderdiagramindexeddbmariadbmcporacle-databaseoracle-dbpostgresqlschema-designsqlsql-serversqlite

README

drawDB logo

drawDB

Free, simple, and intuitive database schema editor and SQL generator.

drawDB screenshot demo

DrawDB is a robust and user-friendly database entity relationship diagram (ERD) editor right in your browser. Build diagrams with a few clicks, export and import SQL scripts, generate migrations, customize your editor, and more without creating an account. See the full set of features on here.

Getting Started

Local Development

git clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run dev

Build

git clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run build

Docker Build

docker build -t drawdb .
docker run -p 3000:80 drawdb

If you want to enable sharing, set up the server and environment variables according to .env.sample. This is optional unless you need to share files.

With the Docker image, pass the server URL when starting the container. No rebuild is needed:

docker run -p 3000:80 -e VITE_BACKEND_URL=https://your-drawdb-server.example.com ghcr.io/drawdb-io/drawdb:latest

Contributing

Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

Support

Contributors

1ilitdependabot[bot]picimakohaecheonleeKARM99FelixZYLuigimonSoftjoao-zanuttoClaPalohuyjs9rudcodetasnim0tantawiJeanFranz73csc530PeterDaveHelloewqazxcl123wxkartik1112NgoQuocViet2001santilapi13davevad9320syldevakib22sudhirVoidMagMongoingbingbeannwil-wuvolkankocrakeshkumar1019yash-chudasama

Issues