I made a little tutorial on how to build and deploy (!) a full-stack application using NextJS and OpenAI’s API.
Hope it helps someone!