mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 02:25:26 +00:00
354ea47529895d314b15790c2365eb3fda548914

During testing I accidentally managed to submit `NaN` as a pan coordinate. This had the unfortunate side effect of bricking the editor. Given the serverity of an accidental `NaN` and that `NaN`s are not impossible considering the amount of math involved in mouse move operations, this commit introduces a simple validation step. The new validation step should additionally be able to unstuck anyone who have happened into this state by accident already.
Free, simple, and intuitive database design tool and SQL generator.
drawDB
DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features 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
Set up the server and environment variables according to .env.sample
for the survey and bug report forms.
Languages
JavaScript
98.8%
CSS
1%
HTML
0.2%