Skip to content

A full-stack tool to scrape and display Amazon product data with Bun backend and Vite frontend.

Notifications You must be signed in to change notification settings

KeplerLeo/amazon-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AMAZON-SCRAPER

A full-stack tool to scrape and display Amazon product data with Bun backend and Vite frontend.

🧩 Project Structure

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

πŸš€ Quick Start

Prerequisites

Option 1: Manual Setup (Recommended)

# 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:4173

Option 2: Docker (Easiest, but amazon can block requests)

docker-compose up --build

Frontend: http://localhost:4173 Backend API: http://localhost:3000

About

A full-stack tool to scrape and display Amazon product data with Bun backend and Vite frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published