This project builds a scraping pipeline + API + React UI for comparing product prices across Nigerian e-commerce sites.
backend/FastAPI API, database models, scrapers, and schedulerfrontend/React UIdocs/short guides for scraping and workflows
Backend:
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
python -m app.scripts.init_db
python -m app.scripts.seed
uvicorn app.main:app --reloadKonga (JS-rendered) requires Playwright:
python -m playwright install chromiumFrontend:
cd frontend
npm install
npm run dev- Add real scrapers per site in
backend/app/scrapers/. - Update the query list in
.envfor scheduled scraping. - Replace seeded data with real scraped listings.
See docs/scraping-guide.md for a quick DOM + selector workflow.