ChamRun / clothing_finder

web-based system for crawling and displaying product information (Flask, React, Docker, Elasticsearch)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clothing Finder

screenshot

A web system that crawls and displays clothing products. The system is composed of the following parts:

  • A database (elasticsearch) to store the crawled data and keep it updated.
  • A backend system that performs the following tasks:
    • Crawls products using python. New products are added and existing products in the database are updated.
    • Interacts between the frontend and the database using flask.
  • A frontend system that consists of a Product Listing Page, displaying the products as follows:

Getting Started

First, install elasticsearch:

How to Install and Configure Elasticsearch on Ubuntu?

Run the following commands to create docker image and run the container:

$ docker build -t clothing_finder_ui ./crawler
$ docker run --network host clothing_finder_crawler

$ docker build -t clothing_finder_ui ./service
$ docker run -p 5000:5000 --network host clothing_finder_service

$ docker build -t clothing_finder_ui ./ui/ReactFakeShop
$ docker run -p 3000:3000 --network host clothing_finder_ui

Built With

  • Flask for the webservice
  • React for the UI
  • Python for the crawler

About

web-based system for crawling and displaying product information (Flask, React, Docker, Elasticsearch)


Languages

Language:JavaScript 72.6%Language:Python 20.3%Language:Dockerfile 3.1%Language:HTML 2.6%Language:CSS 1.5%