InsightDB is a premium, AI-driven database exploration and analysis tool designed with a mobile-first approach. It allows users to connect to their databases, explore schemas, analyze data quality, and interact with their data using natural language.
The application is built using React + Vite and styled with Tailwind CSS. It features:
- Premium UI/UX: Custom cards, glassmorphism, and smooth transitions.
- Smart Navigation: Context-aware bottom navigation and sidebars.
- AI Integration: Interactive chat interface for schema and data queries.
- Data Insights: Visualized data quality and schema optimization details.
- Frontend: React.js (Vite)
- Styling: Tailwind CSS
- Icons: Lucide React
- Animations: Framer Motion
- Routing: React Router DOM
- Utilities: clsx, tailwind-merge
insightdb/
├── src/
│ ├── components/
│ │ ├── layout/ # Shared layouts (Nav, Mobile Shell)
│ │ └── ui/ # Atomic components (Buttons, Inputs)
│ ├── pages/ # Full screen components
│ │ ├── DatabaseConnection.jsx
│ │ ├── Explorer.jsx
│ │ ├── TableDetail.jsx
│ │ └── AIChat.jsx
│ ├── theme/ # Tailwind theme extensions
│ ├── App.jsx # Routing logic
│ ├── index.css # Global styles & Tailwind directives
│ └── main.jsx # Entry point
├── tailwind.config.js # Design system configuration
└── vite.config.js # Build configuration
- Connect: User enters database credentials (
DatabaseConnection.jsx). - Explore: User browses tables with AI insights (
Explorer.jsx). - Deep Dive: Detailed view of specific tables, schemas, and data quality (
TableDetail.jsx). - Interact: Natural language querying and analysis (
AIChat.jsx).
graph TD
A[User] --> B[Mobile App]
subgraph Screens
B --> C[Database Connection]
C --> D[Explorer]
D --> E[Table Detail]
E --> F[AI Chat]
end
subgraph UI System
C & D & E & F --> G[Premium UI Kit]
G --> H[Atoms: Input, Button]
G --> I[Molecules: Nav, Sidebar]
end
subgraph State
D --> J[DB Schema Context]
F --> K[AI Chat History]
end
- Color Palette: Sophisticated
Indigo-600for brand actions, combined withSlatescales for professional readability. - Shadows: Custom
premiumandelevatedshadows were implemented to provide depth and a high-end feel. - Typography:
Interfont family for modern, crisp technical readability. - Layout: Used a consistent 390px mobile-shell width for optimal demonstration.
- Clone the repository.
- Run
npm install. - Start the dev server with
npm run dev.