Generate an OpenAI key here. Create a .env file in the root directory with the following contents:
OPENAI_KEY=<key>
Install dependencies:
npm i
Start the server:
npm run dev