Hackathon-NL2SQL is a project that converts natural language queries into SQL queries, allowing users to interact with their databases using simple text inputs.
- Node.js with EJS templating for rendering dynamic web pages.
- Google Gemini API integration for query understanding and processing.
- SQL database support for executing and retrieving query results.
- Connect to your local database and execute SQL queries effortlessly.
- Formatted result output including a table displaying query results.
# Clone the repository
git clone https://github.com/AnupDangi/Hackathon-NL2SQL.git
cd Hackathon-NL2SQL
# Install dependencies
npm install- Start the application:
npm server.js
- Open your browser and navigate to
http://localhost:3000. - Enter a natural language query, and the system will generate and execute the corresponding SQL query.
- View results in a structured table format.
- This project integrates Google Gemini API for natural language query processing.
- Ensure you have a valid API key and configure it in your environment.
Feel free to contribute to this project by submitting issues or pull requests!
This project is licensed under the MIT License.
For more details, visit the repository: Hackathon-NL2SQL.




