How lanthoiba2022/ai-customer-support works
Project type and purpose
• This is a full-stack web application (“AI Customer Support” / Botix) built on Next.js that serves both UI and serverless API routes.
• It provides a chat interface (React components + Tailwind + MUI) and proxies user messages to the Gemini AI API.
File structure
• Top‐level “aichatsupport” folder: contains Next.js app, configs, styling, dependencies.
• “app/page.tsx” + “app/layout.tsx” define global SSR pages.
• “app/chat/page.tsx” + “app/components/Chat.tsx” implement the Chat UI.
• “app/api/chat/route.ts” is a Next.js serverless function that handles chat requests.
• Configs: next.config.mjs, tsconfig.json, tailwind.config.ts, postcss.config.mjs. No database code—stateless API.
README for additional insights
• Key technologies: Next.js (SSR/routing), TypeScript, MUI, Tailwind CSS, Gemini API integration.
• No mention of a persistence layer—this is a real-time chat frontend + AI proxy backend.