This repository contains the Gemini-API chatbot assistant, organized as a monorepo using Turborepo. The project includes a Next.js frontend, a NestJS backend, and NextAuth.js v5 for authentication.
chatbot-assistant.mp4
The monorepo is structured as follows:
apps/web
: The Next.js frontend application.apps/server
: The NestJS backend application.
- Node.js (>= 18.x)
- Yarn
-
Clone the repository:
git clone https://github.com/akapez/gemini-chat-bot.git cd gemini-chat-bot
-
Install dependencies using Yarn:
yarn install
Create .env
files in the apps/web
and apps/server
directories with the following variables:
GEMINI_API_KEY=""
API_URL=http://localhost:8080
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=""
GITHUB_ID=""
GITHUB_SECRET=""
To build all apps and packages, run the following command:
cd gemini-chat-bot
yarn build
To develop all apps and packages, run the following command:
cd gemini-chat-bot
yarn dev