Install the necessary deps
npm install express openai
npm install -g live-server
Start server
node server.js
live-server --cors
Basic web app that uses OpenAI api using Express.js
Install the necessary deps
npm install express openai
npm install -g live-server
Start server
node server.js
live-server --cors
Basic web app that uses OpenAI api using Express.js