Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chat Portal

Important

CURRENTLY ONLY GROQ IS WORKING Due to API limits on other providers, please select Groq as your AI provider to ensure free and reliable functionality.

A full-stack chat application with multi-AI provider support, conversation management, and intelligent analysis.

🚀 Live Links

🚀 CI

CI

Features

  • Multi-AI Provider Support (OpenAI, Claude, Gemini, Groq, LM Studio)
  • Conversation storage and search
  • AI-powered summaries and insights
  • Natural language queries on chat history
  • Modern UI with dark mode

Tech Stack

Backend: Node.js, Express, MongoDB, JWT
Frontend: React, Vite, Tailwind CSS
AI: Groq (Recommended), OpenAI, Anthropic, Google Gemini

Quick Start

Prerequisites

  • Node.js v18+
  • MongoDB

Installation

# Backend
cd backend
npm install
cp .env.example .env
# Edit .env with your MongoDB URI, JWT secret, and AI API keys

# Frontend
cd frontend
npm install
cp .env.example .env
# Edit .env with VITE_API_URL=http://localhost:5000/api

Run Locally

# Terminal 1 - Backend
cd backend
npm run dev

# Terminal 2 - Frontend
cd frontend
npm run dev

Visit http://localhost:5173

Environment Variables

Backend (.env)

MONGODB_URI=your-mongodb-uri
JWT_SECRET=your-secret-key
OPENAI_API_KEY=your-key        # Optional
ANTHROPIC_API_KEY=your-key     # Optional
GOOGLE_API_KEY=your-key        # Optional
FRONTEND_URL=http://localhost:5173

Frontend (.env)

VITE_API_URL=http://localhost:5000/api

Deployment

Backend (Render)

  1. Create Web Service
  2. Root Directory: backend
  3. Build: npm install
  4. Start: npm start
  5. Add environment variables
  6. Copy deployed URL

Frontend (Vercel)

  1. Import repository
  2. Root Directory: frontend
  3. Add VITE_API_URL with your Render URL + /api
  4. Deploy

Final Step

Add FRONTEND_URL (your Vercel URL) to Render backend environment variables.

About

AI Chat​ Portal with Conversation Intelligence​

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages