introduce
An open-source database design tool on GitHub: DBER, based on entity connection diagrams, supports visual database structure design, drag-and-drop generation of model reference relationships, and one-click export of SQL statements.
Function
- Visual database structure design
- Drag and drop to generate model reference relationship
- One-click export of SQL statements
Install
Clone this repository or download the code.
Install dependencies.
npm install
# or
yarn install
Start the development service:
npm run dev
# or
yarn dev
Use a browser to open http://localhost:3000 to view the results.
To run in production mode:
npm run build && npm run start
Export static pages:
npm run gen
Build with docker
Use the following command to build the Docker image:
docker build -t dber .
Then you can use Docker or Docker Compose to start the service:
docker run -p 3000:3000 dber
或者
docker-compose up -d
Use a browser to open http://localhost:3000 to view the results.
Demo URL
https://dber.tech
GitHub address
https://github.com/findyourmagic/dber/blob/master/README-CN.md