βοΈ Free DrawSQL like website but free forever
URL: https://db-erd-gen.vercel.app/
- Free forever and open sources.
- Save SQL in various DB format.
- Easy to use / store GUI website.
- Low learning curve UI.
- No server involved, all in local.
- Postgres raw
- MySQL / MariaDB raw
- SQLite raw
- knex.js
- kysely ts types
- kysely Postgres
- kysely sqlite
- Typescript types
- Zod scheme types
- Yup scheme types
- Valibot scheme types
- Prisma Postgres
- Prisma MySQL
- mikro-orm (Todo)
- Mongoose Scheme (TBC)
- β With Zod type checking
- β Update Maininte to v7
- β¬οΈ i18n adapts
- β¬οΈ mikro-orm & Mongoose Scheme adapts
- β Support kysely db migrate types output
- β Support kysely ts types output
- β Support SQLite types output
- β Support MySQL / MariaDB types output
- β Support typescript normal types
- β Support zod types generate
- β Support Tables CRUD code for several frameworks
- β¬οΈ Add enums options and input for enums
- β¬οΈ Support defaultTo string in general
- β¬οΈ Support defaultTo string in kysely
- β Support Prisma types output
- β Add UNIQUE types
- β Support sqlite types output
- β¬οΈ More features
- β Update UI
- β¬οΈ Testing vitest
- Clone the project to your environment.
git clone https://github.com/r48n34/db-erd-gen.git
- Install packages with npm / yarn.
# Install with yarn for samples
yarn
- Start the project with dev mode.
# Start with dev
yarn dev
- Build the project.
# Build to production
yarn build
- Preview the build project.
yarn preview
- Build the docker container with the following command.
docker build . -t db-erd-gen
- After builded, run the container.
docker run -d -p 5174:5174 db-erd-gen:latest
Distributed under the MIT License
.