The objective is to create a simple script to scrape Amazon product listings from the first page of search results for a given keyword. For this project, I chose to develop it using React, Tailwind, Axios, Cheerio, and Node.
- First, clone this repository;
- Open with any IDE;
- Open the terminal and run the
npm install
command; - Then, run the
npm start
command; - A window will open in your browser and the application will run;
- Open the terminal and run the
npm install
command; - Then, run the
npm start
command. - The server will run on your terminal.
After two years of coding with frameworks and libraries, this was a challenge that made me remember my knowledge of React, Tailwind, consuming APIs, and Vanilla Javascript methods. It was the first time I had contact with Cheerio and, for me, it was a challenge to understand how it works and learn how to use it.
O objetivo é criar um script simples para extrair listagens de produtos da Amazon da primeira página de resultados de pesquisa para uma determinada palavra-chave. Para este projeto optei por desenvolvê-lo utilizando React, Tailwind, Axios, Cheerio e Node.
- Primeiro, clone este repositório;
- Abra com qualquer IDE;
- Abra o terminal e rode o comando
npm install
; - Então, rode o comando
npm start
; - Uma janela abrirá no seu navegador e a aplicação será executada;
- Abra o terminal e rode o comando
npm install
; - Então, rode o comando
npm start
. - O servidor será executado no seu terminal.
Após dois anos codificando com frameworks e bibliotecas, esse foi um desafio que me fez relembrar meus conhecimentos de React, Tailwind, consumo de APIs e métodos Vanilla Javascript. Foi a primeira vez que tive contato com o Cheerio e, para mim, foi um desafio entender como ele funciona e aprender a utilizá-lo.