A full-stack conversational coding assistant built with Express, React 19, Vite, and Node.js, powered by Groq and OpenAI API. QuickCodeAI-GPT provides a modern ChatGPT-style interface for interactive AI-powered conversations with persistent in-memory chat history (zero database setup required).
- 💬 Real-time AI chat powered by Groq / OpenAI (
qwen/qwen3.8-27b,llama-3.3-70b-versatile, orgpt-4o-mini) - 📝 In-Memory session chat history (zero database setup required)
- 🗂️ Multiple conversation threads (create, switch, rename, delete)
- ✨ Markdown rendering with syntax-highlighted code blocks
- ⌨️ Typing animation for AI responses
- 🌓 High-contrast White & Black design with instant theme toggle
- 📱 Fully responsive (mobile, tablet, desktop)
- 🔔 Toast notifications for errors and status updates
- 🚀 Production-ready for cloud deployment (Render, Vercel, Railway, Docker)
- Frontend: React 19, Vite, React Markdown, Rehype Highlight
- Backend: Node.js, Express 5
- Storage: In-Memory Store (Zero Database Required)
- AI: Groq API / OpenAI API
- Node.js 18+
- Groq API Key (console.groq.com) or OpenAI API Key (platform.openai.com)
-
Clone the repository:
git clone <repo-url> cd SigmaGPT-main
-
Install all dependencies:
npm run install:all
-
Configure environment variables: Create
Backend/.env(useBackend/.env.exampleas a template):GROQ_API_KEY=gsk_your_groq_api_key_here PORT=8081 AI_MODEL=qwen/qwen3.8-27b
-
Run locally:
- Backend:
npm run dev:backend
- Frontend:
npm run dev:frontend
Open http://localhost:5173 in your browser.
- Backend:
Deploy the entire fullstack app as a single service on Render.com (Frontend and Backend together, zero CORS hassle):
- Push your repository to GitHub / GitLab.
- Log in to Render Dashboard and click New + → Web Service.
- Connect your repository.
- Configure the service settings:
- Name:
quickcodeai-gpt - Runtime:
Node - Build Command:
npm run build - Start Command:
npm start
- Name:
- Under Environment Variables, add:
NODE_ENV=productionGROQ_API_KEY= your Groq API key (orOPENAI_API_KEY)AI_MODEL=qwen/qwen3.8-27b(optional, defaults tollama-3.3-70b-versatile)
- Click Deploy Web Service.
- Once deployed, Render provides an HTTPS URL (e.g.
https://quickcodeai-gpt.onrender.com).
(Alternatively, connect your repository and Render will automatically detect the included render.yaml blueprint).
- In Render/Railway, create a new Web Service pointing to your repo.
- Root Directory:
Backend - Build Command:
npm install - Start Command:
npm start - Environment Variables:
NODE_ENV=productionGROQ_API_KEY= your Groq API keyFRONTEND_URL=https://your-frontend.vercel.app
- Note down your backend URL (e.g.
https://my-backend.onrender.com).
- In Vercel Dashboard, click Add New → Project and import your repository.
- Set Root Directory to
Frontend. - Framework Preset: Vite.
- Environment Variables:
VITE_API_URL=https://my-backend.onrender.com(your backend URL, no trailing slash)
- Click Deploy.
QuickCodeAI-GPT includes a multi-stage production Dockerfile:
-
Build Docker Image:
docker build -t quickcodeai-gpt . -
Run Container:
docker run -d -p 8080:8080 -e GROQ_API_KEY="your_api_key_here" -e NODE_ENV="production" quickcodeai-gpt
-
Access the app at http://localhost:8080.
| Variable | Description | Required | Default |
|---|---|---|---|
GROQ_API_KEY |
Groq API Key | Yes* | - |
OPENAI_API_KEY |
OpenAI API Key (alternative to Groq) | Yes* | - |
PORT |
Server listening port | No | 8080 (assigned automatically by cloud hosts) |
NODE_ENV |
Environment mode (production / development) |
No | development |
AI_MODEL |
AI Model identifier | No | qwen/qwen3.8-27b or llama-3.3-70b-versatile |
FRONTEND_URL |
Allowed origin(s) for CORS (comma-separated). Leave empty for unified deployment. | No | - |
* At least one of GROQ_API_KEY or OPENAI_API_KEY is required.
| Variable | Description | Required | Default |
|---|---|---|---|
VITE_API_URL |
Remote Backend API URL. Leave empty for unified deployment. | No | "" (relative paths /api/...) |
MIT