Auction Scraper is a web application that allows users to scrape auction data, view auction listings, and analyze user bidding statistics.
-
Auction List
- Display a paginated list of auctions
- Sort auctions by date or price
- Filter auctions by domain name, user, and date range
- Export auction data to XLSX or CSV format
-
Scraper Form
- Input form to initiate scraping process
- Real-time updates on scraping progress
-
User Details
- View detailed bidding statistics for individual users
- Display user's first and second place bids
- Filter and sort user's bidding history
-
Web Scraping
- Scrape auction data from a specified website
- Handle authentication for accessing bid information
- Store scraped data in a MySQL database
-
API Endpoints
/api/scrape
: Initiate the scraping process/api/auctions
: Retrieve auction data with filtering and sorting options/api/user-stats/:username
: Get bidding statistics for a specific user
-
Database Operations
- Save and update auction data
- Retrieve auction data with various filters and sorting options
- Calculate user bidding statistics
- Frontend: React, Axios, XLSX
- Backend: Node.js, Express, MySQL, Puppeteer, Cheerio
- Database: MySQL
- Clone the repository
- Install dependencies for both frontend and backend
- Set up the MySQL database and configure the connection
- Start the backend server
- Start the frontend development server
- Access the application in your web browser
![Screenshot 2024-09-22 at 4 19 58 PM](https://private-user-images.githubusercontent.com/94432263/369681860-b688e0a5-6c6c-490d-9a93-035065d4423f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjg2MjgsIm5iZiI6MTczOTE2ODMyOCwicGF0aCI6Ii85NDQzMjI2My8zNjk2ODE4NjAtYjY4OGUwYTUtNmM2Yy00OTBkLTlhOTMtMDM1MDY1ZDQ0MjNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA2MTg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5OTUzMDI2NDJhYThiMzEwZmJlZDI2YTM2YTliMmI2NTkzODMyOTQxNGQ5MDhlNTI5YmEyNDRkM2I0MmQ2ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1iQINM75VbCNnL5k_0V2B1lWyGd9I7ZCKOmyBuLjGdc)