This is a web scraping project built with Next.js and styled using Tailwind CSS. The goal of this project is to create an e-commerce site by scraping product data from Amazon.
Ensure you have the following installed:
First, clone the repository and install the dependencies:
git clone [email protected]:Shushovan015/WebScrapping.git
cd WebScrapping
# Install dependencies
npm install
# or
yarn install
# or
pnpm install
# or
bun install
To start the development server, run the following command:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 in your browser to view the app.
You can start editing the e-commerce site by modifying the app/page.tsx file. The page auto-updates as you make changes.
This project uses web scraping to fetch product details from Amazon. Ensure that you follow Amazon's robots.txt and comply with their scraping policies. We are using libraries like puppeteer or cheerio to handle the scraping.
To configure and run the scraper:
npm run scrape
This will fetch the product data and store it in a database or display it directly on the website.