数据库管理工具
Go to file
2025-12-29 18:36:51 +08:00
dist fisrt 2025-12-29 18:35:04 +08:00
electron fisrt 2025-12-29 18:35:04 +08:00
node_modules fisrt 2025-12-29 18:35:04 +08:00
src Implement DataTable component for improved table rendering and add export functionality in QueryEditor 2025-12-29 18:36:51 +08:00
.gitignore Implement DataTable component for improved table rendering and add export functionality in QueryEditor 2025-12-29 18:36:51 +08:00
index.html fisrt 2025-12-29 18:35:04 +08:00
package-lock.json fisrt 2025-12-29 18:35:04 +08:00
package.json fisrt 2025-12-29 18:35:04 +08:00
postcss.config.js fisrt 2025-12-29 18:35:04 +08:00
README.md fisrt 2025-12-29 18:35:04 +08:00
tailwind.config.js fisrt 2025-12-29 18:35:04 +08:00
tsconfig.json fisrt 2025-12-29 18:35:04 +08:00
tsconfig.node.json fisrt 2025-12-29 18:35:04 +08:00
vite.config.ts fisrt 2025-12-29 18:35:04 +08:00

🗄️ EasySQL

EasySQL Electron React TypeScript

现代化多数据库管理工具


特性

  • 🎨 精美 UI - 基于 React + Tailwind CSS深空科技风格
  • 高性能 - Electron + Vite启动快速
  • 🔌 多数据库 - 支持 MySQL、PostgreSQL、SQLite、MongoDB、Redis 等
  • 🔐 SSH 隧道 - 安全连接远程数据库
  • 📝 SQL 编辑器 - 语法高亮、快捷执行

🗃️ 支持的数据库

数据库 状态
🐬 MySQL
🐘 PostgreSQL
💾 SQLite
🍃 MongoDB
Redis
📊 SQL Server 🔜
🔶 Oracle 🔜
🦭 MariaDB
❄️ Snowflake 🔜

🚀 快速开始

环境要求

  • Node.js 18+
  • npm 或 yarn

安装

# 克隆项目
git clone https://github.com/your-repo/easysql.git
cd easysql

# 安装依赖
npm install

# 开发模式运行
npm run dev

# 构建应用
npm run build

📸 界面预览

┌─────────────────────────────────────────────────────────────────┐
│ 🗄️ EasySQL                                        ─  □  ✕     │
├────────────────┬────────────────────────────────────────────────┤
│                │  🏠 欢迎  │  📝 MySQL  │  📝 查询2  │  +        │
│ + 新建连接     │ ┌──────────────────────────────────────────┐   │
│                │ │                                          │   │
│ ─ 连接 ─────── │ │              🗄️ EasySQL                 │   │
│                │ │          现代化多数据库管理工具           │   │
│ 🐬 MySQL本地   │ │                                          │   │
│ 🐘 PostgreSQL  │ │         [ 开始查询 ]                     │   │
│ 🍃 MongoDB     │ │                                          │   │
│                │ │      🐬  🐘  💾  🍃  ⚡  📊              │   │
│ ─ 数据库 ───── │ │     MySQL PG SQLite Mongo Redis ...      │   │
│                │ └──────────────────────────────────────────┘   │
│ 🗃️ mydb        │                                                │
│ 🗃️ testdb      │                                                │
│                │                                                │
├────────────────┴────────────────────────────────────────────────┤
│ ● 就绪                                        EasySQL v1.0     │
└─────────────────────────────────────────────────────────────────┘

🛠️ 技术栈

  • 框架: Electron 28 + React 18
  • 语言: TypeScript 5
  • 样式: Tailwind CSS 3
  • 构建: Vite 5
  • 数据库驱动: mysql2, pg, better-sqlite3, mongodb, redis

📁 项目结构

easysql/
├── electron/           # Electron 主进程
│   ├── main.ts        # 主进程入口
│   ├── preload.ts     # 预加载脚本
│   └── database.ts    # 数据库连接管理
├── src/               # React 前端
│   ├── components/    # UI 组件
│   ├── App.tsx        # 主应用
│   ├── types.ts       # 类型定义
│   └── index.css      # 全局样式
├── index.html
├── package.json
├── tailwind.config.js
├── tsconfig.json
└── vite.config.ts

📄 License

MIT


Made with ❤️ using Electron + React