Unleashed AI is a custom front-end interface for OpenAI's chat completion API. You can test it using the following link: https://unleashedai.org/
- Add
client/.env
file.
REACT_APP_API_URL='http://127.0.0.1:3000/api'
REACT_APP_ENCRYPTION_KEY=randomEncryptionKey
GENERATE_SOURCEMAP=false
PUBLIC_URL=.
PORT=4200
- Add
server/.env
file
DB_CONN_STRING="mongodb+srv://admin:[email protected]/?retryWrites=true&w=majority"
DB_NAME="MongoDBName"
JWT_SECRET="randomJwtSecret"
API_KEY="openAIApiKey"
EMAIL_USERNAME="[email protected]"
EMAIL_PASSWORD="randomPassword"
BASE_URL="http://localhost:4200"
SIGNING_KEY='randomSigningKey'
SIGNING_KEY_NAME='randomSigningKeyName'
- Install required packages in the server and client:
npm install
- Run the server and the client:
npm start