Skip to content

AltamashAhmad/AI-CHAT-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AI Chat Application

A full-stack AI chat application built with React, Node.js, Firebase, and Ollama.

Features

  • User authentication with Firebase
  • Real-time chat interface
  • AI responses using locally hosted Gemma 3B model via Ollama
  • Chat history storage in Firestore
  • Modern UI with Chakra UI

Prerequisites

  • Node.js 18+ installed
  • Ollama installed with Gemma model
  • Firebase account and project set up
  • npm or yarn package manager

Project Structure

ai-chat-app/
├── client/             # React frontend
│   ├── src/
│   ├── .env
│   └── package.json
└── server/             # Node.js backend
    ├── src/
    ├── .env
    └── package.json

Setup Instructions

  1. Clone the repository
  2. Set up environment variables:
    • Copy .env.example to .env in both client and server directories
    • Fill in your Firebase and other configuration details

Frontend Setup

cd client
npm install
npm run dev

Backend Setup

cd server
npm install
npm run dev

Ollama Setup

  1. Install Ollama from https://ollama.ai
  2. Pull the Gemma model:
ollama pull gemma

Development

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published