{"id":18972094,"url":"https://github.com/22skowron/sql-translator","last_synced_at":"2026-05-08T03:40:38.819Z","repository":{"id":259118876,"uuid":"874951808","full_name":"22skowron/SQL-Translator","owner":"22skowron","description":" The application showcases how natural language queries can be translated into SQL with a help of a LLM and executed against the relational database, allowing for intuitive information retrieval without requiring knowledge of SQL syntax.","archived":false,"fork":false,"pushed_at":"2024-10-24T10:43:40.000Z","size":416,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T14:38:55.987Z","etag":null,"topics":["angular","javascript","llm","mysql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/22skowron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T19:10:33.000Z","updated_at":"2024-10-24T12:14:04.000Z","dependencies_parsed_at":"2024-10-26T00:55:08.521Z","dependency_job_id":"1279176a-583e-4b29-afa3-141575c2cd82","html_url":"https://github.com/22skowron/SQL-Translator","commit_stats":null,"previous_names":["22skowron/sql-translator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/22skowron%2FSQL-Translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/22skowron%2FSQL-Translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/22skowron%2FSQL-Translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/22skowron%2FSQL-Translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/22skowron","download_url":"https://codeload.github.com/22skowron/SQL-Translator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970708,"owners_count":19727014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","javascript","llm","mysql"],"created_at":"2024-11-08T15:06:45.118Z","updated_at":"2026-05-08T03:40:38.800Z","avatar_url":"https://github.com/22skowron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Translator\n\nA simple web application designed for the company management board to streamline the retrieval of key information from its internal database. The application showcases how natural language queries can be translated into SQL with a help of a LLM and executed against the relational database, allowing for intuitive information retrieval without requiring knowledge of SQL syntax. \n\n\nCurrently, the application is implemented for the fictitious _Sakila LLC_ company, using the **[Sakila Database](https://dev.mysql.com/doc/sakila/en/sakila-introduction.html \"Go to official Sakila db description page\")** as a sample dataset.\n\n# Interface\n\nThe app operates in a browser and has a simple interface which (after successful authorization) allows the user to enter the query in natural language and get an accurate answer from AI assistant based on the results retrieved from the database.\n\n# About the Sakila Database\n\nThe **[Sakila Database](https://dev.mysql.com/doc/sakila/en/sakila-introduction.html \"Go to official Sakila db description page\")** is a multi-table, relational database originally developed by the MySQL team as a learning resource. It simulates a video rental store, containing tables for films, actors, staff, rentals, payments, customers, and others. Sakila database is commonly used to demonstrate SQL querying, complex joins, and database management techniques in educational environments.\n\n### Local setup instructions:\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/22skowron/SQL-Translator.git\n   ```\n\n2. Frontend setup (terminal 1):\n\n   ```\n   cd ./client\n   npm install\n   ng serve\n   ```\n\n3. Backend setup (terminal 2):\n   ```\n   cd ./server\n   npm install\n   node ./index.js\n   ```\n\nBefore running the project make sure that you have the `.env` file with the proper environment variable declarations inside your `/server` directory. You can look up which variables you need to declare in `env.example`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F22skowron%2Fsql-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F22skowron%2Fsql-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F22skowron%2Fsql-translator/lists"}