/chatgpt_api

Testing the openai api

Primary LanguageJavaScript

chatgpt_api

Testing the openai api

Instructions

-In VSC, create a .env file in the server folder. Write "OPENAI_API_KEY= " (no quotes).
-In your openai account, generate a new secret key. Paste the key within the env file.

CLIENT:
cd client
npm run dev

SERVER:
cd server
node index.js