Name Last Update
client Loading commit data...
.env-template Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
env-template Loading commit data...
index.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...

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