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