E-commerce Catalog Query App

Overview

This Streamlit app facilitates exploration and querying of an e-commerce catalog ingested from a JSON file into an SQL database. Users can search products by title, category, or unique ID, with efficient handling of hierarchical categories.

Features

  • Ingestion: Ingests catalog data from a JSON file into an SQL database.
  • Querying: Allows users to search for products based on title, category, or unique ID.
  • Hierarchical Categories: Handles category fields efficiently, enabling navigation through hierarchical categories.
  • Requirements: This project requires Python and the dependencies listed in requirements.txt.

Setup

  1. Clone this repository.
  2. Set up a Python environment using virtualenv or conda. python3 -m venv .venv then source .venv/bin/activate.
  3. Install dependencies using pip install -r requirements.txt.
  4. Run the Streamlit app: streamlit run app/main.py.

Database

  1. run docker compose up to spin up the postgres image

Usage

  1. Upload your JSON catalog file.
  2. Use the provided search functionality to explore the catalog.
  3. Enjoy seamless querying and navigation through product categories.

Contributors

  • [Eshaan Sudan]
  • [Vedang Bohra]