Skip to content

Redtri-git/EcommChat

Repository files navigation

Getting Started

  1. Install Dependencies

    # Backend
    pip install flask flask-cors openai
    
    # Frontend
    cd frontend
    npm install
  2. Configure Environment

    • Set up your OpenAI API key in BackEnd.py
    • Ensure your product database is properly configured in products.json
  3. Run the Application

    # Start Backend Server
    python BackEnd.py
    
    # Start Frontend Development Server
    cd frontend
    npm start

Usage

  1. Direct Mode

    • Type product queries directly
    • Use filters to refine search results
    • Click on products to view details
  2. Interactive Mode

    • Engage in natural conversation about products
    • Receive personalized recommendations
    • Get detailed product information through chat

Project Structure

  • /frontend - React frontend application
    • /src - Source code
      • App.js - Main application component
      • App.css - Styling
  • BackEnd.py - Flask server and API endpoints
  • products.json - Product database

Contributing

Feel free to submit issues and enhancement requests!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors