A modern Vue.js application for executing SQL queries across multiple databases with a beautiful and intuitive user interface.
The application is deployed and accessible at: SQL Query Hub
- Multi-Database Support: Execute queries on MySQL, PostgreSQL, and MSSQL databases
- Batch Query Execution: Run multiple SQL queries simultaneously
- Query Results Export: Automatically exports results to downloadable files
- Modern UI/UX: Clean and intuitive interface built with Vuetify 3
- Real-time Validation: Immediate feedback on configuration and query inputs
- Responsive Design: Works seamlessly on desktop and mobile devices
- Vue.js 3
- Vuetify 3
- Vite
- Node.js
- Netlify (for Hosting)
- Node.js (v16 or higher)
- npm (v7 or higher)
- Clone the repository:
git clone https://github.com/Ali-Bhatti/sql-query-hub-frontend.git
cd sql-query-hub-frontend- Install dependencies:
npm install- Create a
.envfile in the root directory:
VITE_API_URL=http://localhost:3000 # For local development- Run the development server:
npm run dev| Variable | Description | Default |
|---|---|---|
| VITE_API_URL | Backend API URL | http://localhost:3000 |
- Support for multiple database types
- Secure password handling
- Connection parameter validation
- Connection testing capability
- Config file upload/download
- Multiple query support
- Query validation
- Real-time error feedback
- Auto-dismissing notifications
- Automatic download of query results
- ZIP file containing all query outputs
- CSV format for easy data analysis
- Execution logs included
- Modern and clean interface
- Responsive design
- Consistent color scheme
- Intuitive icons and buttons
- Smooth animations and transitions
- Error handling with visual feedback
Tested and supported in:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
sql-query-hub-frontend/
├── src/
│ ├── components/
│ │ ├── DatabaseConfig.vue # Database configuration component
│ │ └── SqlQueryExecutor.vue # Main query execution component
│ ├── services/
│ │ └── api.js # API service configuration
│ ├── App.vue # Root component
│ └── main.js # Application entry point
├── public/ # Static assets
├── index.html # HTML entry point
├── vite.config.js # Vite configuration
└── package.json # Project dependencies
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request