Please visit the link to download the data source files and extract the files to the ./backend/utils/data
directory.
- Create
./.env
for the OPENAI API
# .env
OPENAI_API_KEY=YOUR_API_KEY
PORT=8000
- Create
./frontend/.env
for the backend API
# .env
OPENAI_API_KEY=YOUR_API_KEY
- Build docker
docker-compose -f docker-compose_local.yml build
- Run docker
docker-compose -f docker-compose.yml build
- Create
./backend/.env
for the OPENAI API
touch ./backend/.env
export OPENAI_API_KEY=DONTSHAREWITHOTHERS
export PORT=8000
- Run frontend at port
3000
:
cd frontend
npm install
npm run start
- Run server at port
8000
:
cd backend
npm install
node index.js