Empowering your digital interactions with cutting-edge AI.
NexAI is a sophisticated chatbot powered by Google’s Gemini model, designed to elevate your user experience through precise and contextually aware responses. Whether you need assistance with inquiries, task management, or professional support, NexAI is here to assist with adaptive learning and a seamless interface.
Category | Technology |
---|---|
Frontend | Next.js, React, Tailwind CSS, Zustand |
Backend | Node.js, Google Generative AI |
Database | Prisma, PostgreSQL |
Authentication | Supabase |
UI Components | Radix UI, Shadcn UI |
Other | Axios, ESLint, Remarkable, Highlight.js |
Follow these steps to get NexAI up and running on your local machine:
Clone the repository:
bash
git clone <repository-url>
cd nex-ai
Install dependencies:
bash
npm install
# OR
yarn install
# OR
pnpm install
Set up environment variables:
Create a .env.local
file in the root directory and add the following:
DATABASE_URL="Your PostgreSQL database URL"
GEMINI_API_KEY="Your Google Gemini API key"
NEXT_BASE_URL="Your application's base URL (e.g., http://localhost:3000)"
SUPABASE_URL="Your Supabase URL"
SUPABASE_ANON_KEY="Your Supabase Anon Key"
SUPABASE_SERVICE_ROLE_KEY="Your Supabase Service Role Key"
Run Prisma migrations:
bash
npx prisma migrate dev
Generate Prisma client:
bash
npm run prisma-generate
Start the development server:
bash
npm run dev
# OR
yarn dev
# OR
pnpm dev
Open http://localhost:3000 with your browser to see the result.
612,110 total
.env.local
file.This project is open-source and available under the MIT License.