Skip to content

Chanuka-ChandraYapa/Machine_Customer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BuyGenix: Next-Generation E-Commerce with Machine Customers

BuyGenix is a groundbreaking platform designed to redefine the e-commerce experience with the power of AI. By introducing the concept of "machine customers," this project aims to enable automated AI agents to shop on behalf of users. These intelligent agents autonomously evaluate products, compare deals, and make data-driven purchasing decisions, mimicking human shopping behavior efficiently and intelligently.


✨ Features

  • Machine Customers: AI-powered agents that shop on behalf of users based on predefined preferences.
  • Product Evaluation: Automated analysis and comparison of products across platforms.
  • Generative AI Integration: Advanced decision-making using state-of-the-art AI technologies.
  • Enhanced Shopping Experience: Personalized, efficient, and user-centric automation.

Table of Contents

  1. Prerequisites
  2. Setup Instructions
  3. Usage

Prerequisites

Ensure you have the following installed on your system:

  • Node.js (v16.x or later)
  • Python (v3.8 or later)
  • pip (Python package installer)
  • Virtualenv (for creating isolated Python environments)

Setup Instructions

React Frontend

  1. Navigate to the ecommerce-frontend directory:
    cd ecommerce-frontend
    
  2. Install dependencies:
    npm install
    
  3. Run the frontend using below command:
    npm start
    

Flask Backend 1

  1. Navigate to the ecommerce-backend directory:
    cd ecommerce-backend
    
  2. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate   # On Windows: venv\Scripts\activate
    
  3. Install required dependencies:
    pip install -r requirements.txt
    
  4. Update the GROQ_API key in below path in line 9.
    ecommerce-backend/routes/getProductList.py
    
  5. Run the Flask server:
    python app.py
    

Flask Backend 2

  1. Navigate to the mock-api directory:
    cd mock-api
    
  2. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate   # On Windows: venv\Scripts\activate
    
  3. Install required dependencies:
    pip install -r requirements.txt
    
  4. Run the Flask server:
    python products.py
    

Usage

Access the application in your web browser at:

http://localhost:3000```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •