Skip to content

jayalloyd/ConvoAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 ConvoAI

A high-performance ChatGPT clone built with the MERN Stack (MongoDB, Express, React, Node.js) and managed via pnpm workspaces.

📖 About this Project

This project was developed as part of the Delta Full-Stack Web Development course by Apna College. While the core logic follows the course curriculum, I have implemented several enhancements to make it production-ready and developer-friendly.

🌟 Overview

ConvoAI is a full-stack AI conversation platform that features real-time messaging, persistent chat history, and a modern, responsive UI. By leveraging pnpm workspaces, this project maintains a clean separation between the frontend and backend while sharing dependencies efficiently.

✨ Features

  • Real-time AI Interaction: Seamless chat experience powered by OpenAI/Gemini.
  • Monorepo Architecture: Managed with pnpm for faster installs and disk space efficiency.
  • Persistent Storage: MongoDB integration to save and resume conversations.
  • Secure Auth: JWT-based user authentication system.
  • Markdown Rendering: Full support for code snippets and rich text in AI responses.

🛠️ Tech Stack

Layer Technology
Package Manager pnpm
Frontend React (Vite), Tailwind CSS, Framer Motion
Backend Node.js, Express.js
Database MongoDB Atlas
AI Engine OpenAI API

Project Document

ConvoAi.pdf

🏗️ ConvoAI System Architecture

graph TD
    subgraph Client_Side_React
        A[React Frontend] --> B[React Hooks & State]
        B --> C[Axios / Fetch API]
    end

    subgraph Package_Manager
        PNPM[pnpm Workspaces] -.-> Client_Side_React
        PNPM -.-> Server_Side_Node
    end

    subgraph Server_Side_Node
        C --> D[Express.js Server]
        D --> E[Auth Middleware - JWT]
        D --> F[AI Service Controller]
        F --> G[OpenAI / Gemini API]
    end

    subgraph Database_Layer
        F --> H[(MongoDB Atlas)]
        E --> H
    end

    A -.->|pnpm link| D
Loading

🚀 Getting Started

1. Prerequisites

  • pnpm installed: npm i -g pnpm
  • Node.js (v18+)
  • OpenAI API Key

2. Installation

Clone the repository and install all dependencies for both frontend and backend at once:

git clone [https://github.com/jayalloyd/ConvoAI.git](https://github.com/jayalloyd/ConvoAI.git)
cd ConvoAI
pnpm install

About

A high-performance ChatGPT clone built with the MERN Stack (MongoDB, Express, React, Node.js) and managed via pnpm workspaces.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors