Using ChatGPT with an existing database is not that hard! The critical part is to write good prompts to ChatGPT and safeguard with correcting prompt messages to get back a plain SQL Query that we can use to execute using Prisma.js or any other database client you are using.
This video covers the simple fundamentals, and the project here is useless. Instead, it is just an experiment on how to do things and structure projects like this.
Github Project - https://github.com/tigranbs/nextjs-pr...
-----
Website: https://tigran.tech
Twitter: / tigranbs
Medium: / tigranbs
Github: https://github.com/tigranbs