This project is a web application built using Next.js, Chakra UI, Node.js, Express.js, and MongoDB. Its main functionality is to take a home page URL for an e-commerce website, scrape product data, and display those products in a simple user interface.
Before you begin, ensure you have met the following requirements:
- Docker installed on your machine.
- A web browser to access the application.
-
Clone this repository:
git clone https://github.com/amalamall/scraping.git cd ecommerce-scraper
-
Build the Docker containers:
docker-compose up -d --build
-
After building the Docker containers, the application should be running.
-
Access the application in your web browser at
http://localhost
.
To start scraping data from jumia, follow these steps:
-
Access the route
localhost:5000/api/scrap/
to initiate the scraping process. -
The application will collect product data, categorize it, and store it in the database.
-
You can access the collected product data through the UI.
You can access the deployed version of this application at http://165.22.64.139/.
This project is licensed under the MIT License.