Hey Indie Hackers,
I've written a tutorial that walks through setting up a web app with Next.js and Tailwind CSS, accessing the OpenAI API, creating a backend that sends requests to the ChatGPT API and building out a simple, interactive front end.
Hope you all find it useful and any feedback is appreciated!
https://davidwu.io/posts/building-a-simple-web-app-with-openais-chatgpt-api-nextjs-and-tailwind-css/