This is Open AI SQL generator example using Nextjs.
-
Create your Open AI account Get your API Key from here.
-
Clone this repository
git clone https://github.com/raufsamestone/open-ai-sql
- Create
.env
file
touch env.local
- Paste your API key
OPENAI_API_KEY=<yourAPIKEY>
- Generate your SQL request! 🎉