README.md
482 Bytes
ChatGPT Server
Installation
npm install on the root and /client 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.
API_KEY="sk-xxxxxxxx"
API_ORG="org-xxxxxxx"
SERVER_URL="http://localhost:3080/"
Run server and client
root --> `node index.js`
client --> `npm run dev`