A full-stack tool to scrape and display Amazon product data with Bun backend and Vite frontend.
amazon-scraper/
├── backend/ # Bun server
│ ├── src/
│ │ ├── index.ts # API server
│ │ ├── scraper.ts # Scraping logic
│ │ └── types.ts # Type definitions
│ ├── Dockerfile
│ └── package.json
│
├── frontend/ # Vite app
│ ├── src/
│ │ ├── main.js # Frontend logic
│ │ └── style.css # Styling
│ ├── index.html
│ └── vite.config.js
│
├── .dockerignore
├── .gitignore
└── docker-compose.yml # Full-stack container setup
# Clone repo
git clone git@github.com:KeplerLeo/amazon-scraper.git
cd amazon-scraper
# Backend
cd backend
bun install
bun run dev # http://localhost:3000
# Frontend (new terminal)
cd ../frontend
npm install
npm run dev # http://localhost:4173docker-compose up --buildFrontend: http://localhost:4173 Backend API: http://localhost:3000