# BuyLowa.com v3

A practical price-comparison/deals-directory style site.

This version is built around search, categories, real eBay promotion cards, price-check shortcuts, and an API-ready product result layout.

## Current mode

Starter mode using local JSON:

- `data/categories.json`
- `data/promotions.json`
- `data/price-checks.json`

## Adding eBay promotions

Use the EPN Sales + Events page. Add one object per real eBay promotion in `data/promotions.json`.

## Adding price checks

Use `data/price-checks.json`. These are search shortcuts for now, not confirmed cheapest deals.

## API mode later

When API access is ready:

1. Add credentials to Cloudflare Worker secrets.
2. Update `worker/worker.js` to call the product API.
3. Return live listings in a similar object shape.
4. Set `USE_API = true` in `app.js`.
5. Deploy the Worker route.

Do not place API keys in frontend JavaScript.
