DB Mind is an interactive web application that generates database schemas from natural language descriptions. It uses AI to convert text descriptions into detailed database designs, complete with tables, columns, and relationships.
- Natural Language Input: Simply describe your database requirements in plain English
- Real-time Visualization: Instantly see your database schema rendered as an interactive diagram
- Interactive Schema Display: Drag and zoom to explore complex database relationships
- Support for Complex Relationships: Handles one-to-one, one-to-many, and many-to-many relationships
- Clone the repository
git clone git@github.com:tal7aouy/dbmind.git
- Install dependencies:
npm install
- Create a .env file and add your Google API key:
GOOGLE_API_KEY=your_api_key_here
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser
- Enter a description of your database needs in the text area (e.g., "Create a blog system with users, posts, and comments")
- Click "Generate Schema" to create your database design
- The resulting schema will be displayed as an interactive diagram
- Drag tables to rearrange them and use mouse wheel to zoom in/out
- Next.js - React framework
- D3.js - Visualization library
- Google Gemini - AI model for schema generation
- Tailwind CSS - Styling
- TypeScript - Type safety
To run linting:
npm run lint
To build for production:
npm run build