AI Chat application powered by Next.js, TypeORM, PostgreSQL, Qdrant Vector DB, Redis, and LangChain.
Follow these steps to pull the latest changes and run the application locally:
git pullnpm installCopy the example environment file:
cp .env.example .envEnsure your .env has valid values for: (I have all the defaults setup just run development build)
CLERK_SECRET_KEY&NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY(Clerk Auth)OPENAI_API_KEY(LLM completions)DATABASE_URL/ PostgreSQL connection parametersQDRANT_URL(Vector Search, optional)JINA_API_KEY(Web Search, optional)
To start both background services (Postgres, Qdrant, Redis via Docker) and the Next.js dev server:
npm run start:devOr start the infrastructure and dev server separately:
# 1. Start Docker services (Postgres, Qdrant, Redis)
npm run start:dev:infra
# 2. Start Next.js Development Server
npm run devOpen http://localhost:3000 in your browser.
# Unit & Integration Tests
npm test
# E2E Tests (Playwright)
npm run test:e2e