README.md
525 Bytes
ChatGPT Server
Installation
npm install on the root directory.
Create ENV Variables
Create an .env file in the root directory of your application. Duplicate the env-template and rename to .env In the .env file, define the environment variables you want to use in your application. ex.
OPENAI_API_KEY="sk-xxxxxxxx"
OPENAI_API_ORG="org-xxxxxxx"
Run server
Run server on the root directory
node index.js
Additional Configuration
After running server, proceed to /client README.md for instructions