Initialize complete Wails (Go + React) database management tool
## Project Structure
- Frontend: React 18 + TypeScript + Vite
- Backend: Go 1.23 + Gin + GORM + SQLite + Zap
- Desktop: Wails v2
## Features Implemented
### UI/UX Design
- Complete design system with colors, typography, spacing
- Wireframes for all major screens
- User flows and interaction specifications
- Layout design with 3-panel architecture
### Frontend Components
- ConnectionPanel: Database connection sidebar with status indicators
- AppLayout: Resizable main layout framework
- MenuBar & ToolBar: Navigation and quick actions
- QueryEditor: SQL editor with syntax highlighting support
- DataGrid: Sortable, filterable, editable data table
- TableStructure: Table metadata viewer
- StatusBar: Connection info and query statistics
- StatusIndicator: Animated connection status component
### Backend Services
- Wails bindings: 15+ methods exposed to frontend
- Connection management: CRUD operations with connection pooling
- Query execution: SQL execution with result handling
- Table metadata: Schema introspection
- Encryption service: AES-256-GCM password encryption
- HTTP API: RESTful endpoints for debugging/integration
### Documentation
- Design system specification
- Feature requirements document
- Wireframes and user flows
- API testing guide
- Project README
## Technical Details
- Password encryption using AES-256-GCM
- Thread-safe connection manager with sync.RWMutex
- Unified error handling and logging
- Clean architecture with dependency injection
- SQLite for storing user data (connections, history)
🤖 Generated with Qoder
5.3 KiB
5.3 KiB
uzdb Project Documentation
📚 Documentation Index
This directory contains all design and specification documents for the uzdb project.
Core Documents
| Document | Description | Status |
|---|---|---|
| Features | Complete feature specification with priorities | ✅ Complete |
| Design System | Visual design language, colors, typography, components | ✅ Complete |
| Wireframes | UI mockups and layout specifications | ✅ Complete |
| User Flows | User interaction flows and edge cases | ✅ Complete |
🎯 Project Overview
uzdb is a lightweight database management tool inspired by DBeaver and Navicat, built with Wails (Go + React).
Key Characteristics
- Lightweight: Fast startup, minimal resource usage
- Simple: Focus on essential features done well
- Modern: Clean UI following current design trends
- Cross-platform: Windows, macOS, Linux support via Wails
Tech Stack
- Frontend: React + TypeScript + Vite
- Backend: Go 1.23+
- Desktop Framework: Wails v2
- Styling: CSS Variables + modern CSS
🏗️ Architecture
┌─────────────────────────────────────────┐
│ Frontend (React) │
│ ┌──────────┬──────────┬──────────────┐ │
│ │ Sidebar │ Editor │ Data Grid │ │
│ │ │ │ │ │
│ └──────────┴──────────┴──────────────┘ │
│ Wails Runtime │
├─────────────────────────────────────────┤
│ Backend (Go) │
│ ┌──────────┬──────────┬──────────────┐ │
│ │ MySQL │PostgreSQL│ SQLite │ │
│ │ Driver │ Driver │ Driver │ │
│ └──────────┴──────────┴──────────────┘ │
└─────────────────────────────────────────┘
📁 File Structure
uzdb/
├── frontend/ # React application
│ ├── src/
│ │ ├── components/ # UI components
│ │ ├── App.tsx # Main app component
│ │ └── main.tsx # Entry point
│ └── package.json
├── doc/ # This directory - design docs
│ ├── features.md
│ ├── design-system.md
│ ├── wireframes.md
│ ├── user-flows.md
│ └── README.md # This file
├── internal/ # Go backend code
├── main.go # Go entry point
└── wails.json # Wails configuration
🎨 Quick Reference
Color Palette
- Primary:
#3b82f6(Blue) - Success:
#10b981(Green) - Warning:
#f59e0b(Amber) - Error:
#ef4444(Red)
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Run query | Ctrl/Cmd + Enter |
| New connection | Ctrl/Cmd + N |
| Save | Ctrl/Cmd + S |
| Find | Ctrl/Cmd + F |
| Close tab | Ctrl/Cmd + W |
Supported Databases
- ✅ MySQL 5.7+
- ✅ PostgreSQL 12+
- ✅ SQLite 3.x
👥 Team Roles
UI/UX Designer
- Responsible for visual design and user experience
- Maintains design system consistency
- Creates wireframes and prototypes
See: .qoder/agents/uiux-designer.md
Frontend Developer
- Implements React components
- Integrates with Wails runtime
- Ensures responsive design
Backend Developer
- Implements database drivers
- Handles Go business logic
- Manages connections and queries
📋 Development Workflow
1. Design Phase
- Review feature requirements
- Create/update wireframes
- Define component specs
- Get team approval
2. Implementation Phase
- Create React components
- Implement Go handlers
- Write tests
- Integration testing
3. Review Phase
- Design review against specs
- Code review
- QA testing
- Bug fixes
🔗 Related Resources
Design Tools
- Figma - UI design and prototyping
- Lucide Icons - Icon library
- Inter Font - Primary typeface
Development
Inspiration
📝 Contributing
When adding new features:
- Update documentation in this directory
- Follow design system for consistency
- Consider accessibility requirements
- Test with real data before merging
📞 Contact
For questions about design or features:
- Open an issue on GitHub
- Tag @uiux-designer for design questions
- Tag @maintainer for feature discussions
Last updated: 2026-03-29