A SQL query assistant that helps users write, optimise, and understand SQL queries through natural language interaction.
https://sql-assistant.netlify.app/
- Natural language to SQL query
- SQL query optimisation suggestions
- Query explanation and documentation
- Query history and management
├── client/ # Frontend application
├── server/ # Backend API and services
└── .github/ # GitHub workflows and configurations
- Node.js (v18 or higher)
- Docker
-
Clone the repository:
git clone https://github.com/efe-osa/sql-assistant.git cd sql-assistant -
Install dependencies:
# Install server dependencies cd server npm install # Install client dependencies cd ../client npm install
-
Set up environment variables:
- Copy
.env.exampleto.envin server directories - Update the environment variables with your configuration
- Copy
-
Start the development servers:
# Start the backend server cd server cp .env.example .env.development npm run dev # Start the frontend development server cd ../client echo "VITE_API_URL=http://localhost:3001/api" >> .env.development npm run dev
To run the application using Docker:
docker-compose up --build- Frontend: React with TypeScript
- Backend: Node.js with Express
- Database: SQLite3
- Containerization: Docker
This project is licensed under the MIT License - see the LICENSE file for details.