Skip to content

Latest commit

Β 

History

History
122 lines (84 loc) Β· 2.42 KB

File metadata and controls

122 lines (84 loc) Β· 2.42 KB

🧠 SakshamGPT – AI Chat Platform

SakshamGPT is an intelligent full-stack chat application powered by AI. It enables users to interact with a GPT-like model through a clean interface, manage chat history, and experience features like image uploads and secure authentication.


✨ Features

  • πŸ” Secure Auth with Clerk
  • πŸ’¬ Realtime chat with AI
  • πŸ“¦ Upload images via ImageKit
  • 🧠 Store and view chat history
  • 🌐 Full MERN stack integration
  • ⚑ Smooth routing with React Router
  • 🎨 Tailwind CSS UI components

πŸ“Έ Screenshots

image


πŸ› οΈ Tech Stack

Frontend Backend Auth & Media Hosting & DB
React + Vite Express.js Clerk, ImageKit Vercel + MongoDB

πŸ“‚ Project Structure

SakshamGpt/
β”‚
β”œβ”€β”€ client/          # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   └── public/
β”‚
β”œβ”€β”€ server/          # Express backend
β”‚   β”œβ”€β”€ models/
β”‚   └── index.js
β”‚
β”œβ”€β”€ .env             # Environment variables
└── README.md

πŸš€ Getting Started

1. Clone the repo

git clone https://github.com/Saksham1143me/SakshamGpt.git
cd SakshamGpt

2. Setup the backend

cd server
npm install
# Set up your .env file with MongoDB, Clerk, ImageKit keys
node index.js

3. Setup the frontend

cd ../client
npm install
npm run dev

πŸ“œ Environment Variables

Server .env

PORT=3000
MONGODB_URL=your_mongodb_uri
CLIENT_URL=http://localhost:5173
VITE_IMAGE_KIT_ENDPOINT=your_endpoint
VITE_IMAGE_KIT_PUBLIC_KEY=your_public_key
VITE_IMAGE_KIT_PRIVATE_KEY=your_private_key

Client .env

VITE_API_URL=http://localhost:3000
VITE_CLERK_PUBLISHABLE_KEY=your_clerk_key
VITE_CLERK_SECRET_KEY=your_clerk_key

πŸ“ˆ Status

βœ… Deployed: https://saksham-gpt.vercel.app πŸ”§ Serverless backend: https://saksham-gpt-api.vercel.app/api/upload


πŸ™‡β€β™‚οΈ Author

Saksham Goyal
LinkedIn | GitHub


πŸ“Œ License

This project is for educational/demo purposes. Feel free to fork and build on top of it πŸš€