-
Clone the repository:
git clone https://github.com/dice-group/chatbot.git cd chatbot
-
Install dependencies:
npm install
-
Create a
.env.local
file in the root of the project:touch .env.local
-
Add your OpenAI API key to the
.env.local
file:OPENAI_API_KEY=your_openai_api_key_here
-
Run the backend server with the following command:
node --env-file=.env.local backend/server.js
-
To start the frontend server, use:
npm run dev
-
Once the development server is running, open your browser and navigate to:
http://localhost:3000/