GenTable is an AI-powered database visual schema designer that allows you to create, edit, and manage database schemas visually. This tool provides an intuitive interface to design your database schema with ease.
- Visual Schema Design: Drag and drop tables and fields to design your database schema visually.
- AI-Powered: Generate database schemas using AI.
- Real-Time Updates: Changes are reflected in real-time.
- Export Options: Export your schema as SQL or Prisma schema.
- Responsive Design: Works seamlessly on different screen sizes.
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/marvelxcodes/gentable.git cd gentable -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000.
- Click on the "Create Table" button in the sidebar.
- A new table will be added to the canvas and the sidebar.
- Edit the table name and fields as needed.
- Click on the "Add Field" button in the table card in the sidebar.
- A new field will be added to the table.
- Edit the field name and value as needed.
- Click on the "Copy SQL Query" or "Copy Prisma Schema" button in the sidebar.
- The schema will be copied to your clipboard.
public/: Contains static assets and HTML files.src/: Contains the source code.scripts/: Contains JavaScript files.styles/: Contains CSS files.
dist/: Contains the build output.
webpack.config.js: Webpack configuration file.tsconfig.json: TypeScript configuration file.tailwind.config.js: Tailwind CSS configuration file..prettierrc: Prettier configuration file.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.
