Travel agent chatbot frontend: a Next.js chat interface for holiday and travel planning that talks to the AI backend.
- Clone the repo and enter the web app folder:
git clone <repo-url> cd chatbot-web
- Install dependencies (pnpm recommended):
pnpm install # or: npm install - Configure environment (set API base URL, Sentry, etc.):
- Copy
.env.exampleto.envif provided, or create.envmatching your backend endpoints and keys.
- Copy
Required variables:
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
NEXT_PUBLIC_ACCESS_TOKEN_COOKIE=chatbot_access_token
BACKEND_URL=http://localhost:8000Start the Next.js dev server:
pnpm dev
# or: npm run devThe app runs at http://localhost:3000. Hot reload is enabled; edit pages under app/ to see changes instantly.