{"id":10609619,"url":"https://github.com/alejandro-ao/openai-sql-generator","last_synced_at":"2025-06-14T15:33:04.882Z","repository":{"id":242326081,"uuid":"622560611","full_name":"alejandro-ao/openai-sql-generator","owner":"alejandro-ao","description":"Simple app in React and Node that interacts with OpenAI's ChatGPT API","archived":false,"fork":false,"pushed_at":"2023-04-13T18:30:04.000Z","size":69,"stargazers_count":41,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T12:48:34.296Z","etag":null,"topics":["chatgpt-api","openai-api","text-completion"],"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/alejandro-ao.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":"2023-04-02T13:33:42.000Z","updated_at":"2025-03-03T04:11:38.000Z","dependencies_parsed_at":"2024-06-02T09:24:24.484Z","dependency_job_id":"2d22a16e-a679-4da5-b819-47eb2c0fb860","html_url":"https://github.com/alejandro-ao/openai-sql-generator","commit_stats":null,"previous_names":["alejandro-ao/openai-sql-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alejandro-ao/openai-sql-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Fopenai-sql-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Fopenai-sql-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Fopenai-sql-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Fopenai-sql-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandro-ao","download_url":"https://codeload.github.com/alejandro-ao/openai-sql-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandro-ao%2Fopenai-sql-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259838022,"owners_count":22919510,"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":["chatgpt-api","openai-api","text-completion"],"created_at":"2024-06-02T09:14:01.350Z","updated_at":"2025-06-14T15:33:04.833Z","avatar_url":"https://github.com/alejandro-ao.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Natural Language to SQL Query Converter\n\nThis is a full stack app that converts natural language English to SQL queries using OpenAI's GPT-3.5 architecture and text completion API. The app has a client and a server, each with its own npm packages. \n\nThe tutorial to build this application is [on youtube](https://youtu.be/kjUSOa_KOts).\n\n## Getting Started\n\nTo get started, clone the repository to your local machine and navigate to the root directory. There are two folders in the root directory: client and server. Each folder has its own package.json file and node_modules folder.\n\n### Installing Dependencies\n\nTo install the dependencies for the client, navigate to the client folder and run the following command:\n\n```bash\nnpm install\n```\n\nTo install the dependencies for the server, navigate to the server folder and run the following command:\n\n```\nnpm install\n```\n\n## Running the Client\n\nTo run the client, navigate to the client folder and run the following command:\n\n```\nnpm run dev\n```\n\nThe client will be available at http://localhost:3000/.\n\n## Running the Server\n\nTo run the server, navigate to the server folder and run the following command:\n\n```\nnpm start\n```\n\n## Technologies\n\nThe front end is built with React, and the back end is built with Node.js and Express.\n\n[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://opensource.org/licenses/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro-ao%2Fopenai-sql-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandro-ao%2Fopenai-sql-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandro-ao%2Fopenai-sql-generator/lists"}