Skip to content

WebApp to search for your Google Product category ID by entering your Product Description

License

Notifications You must be signed in to change notification settings

maalexi/google-product-category-finder

Repository files navigation

Netlify Status

Google Product Category Finder

A browser only site to find the Google Product Category ID for any product type by simply searching in the Web Interface. Built using Next.js and Typescript.

How it works

The app uses the official list of Product Taxonomy by Google, last updated on 2019-07-10.

You can find the original data here

At the root directory of the project, there contains a script.js file, which parses this data into a Javascript readable JSON format with the following schema:

[
    {
        "id": 0,
        "level1": "Level 1 of taxonomy (Optional)",
        "level2": "Level 2 of taxonomy (Optional)", 
        "level3": "Level 3 of taxonomy (Optional)", 
        "level4": "Level 4 of taxonomy (Optional)", 
        "level5": "Level 5 of taxonomy (Optional)", 
        "level6": "Level 6 of taxonomy (Optional)",
    }

]

The Web App is browser only. Which means no API calls or backend is required to search and query this data. This is achieved by the Open Source library Fuse.js. You can read more about them here.

Contributing

Local Setup

  1. Fork this project and clone it locally
  2. Do yarn install to install the dependencies.
  3. Run yarn dev to and then visit localhost:3000 in your browser

This repo is commitizen friendly

It is recommended to commit with git cz instead of git commit.

Maintainers

@manishprivet - Manish Kumar

Powered By

Maalexi - Maalexi is a B2B platform for wholesale import and finance of food and agriculture products.