Compare the basket, not just the item
A low price on one item does not necessarily make a store cheaper for the whole shopping list. This database-management project explores basket-level comparisons and price-change alerts for grocery shoppers.
My contribution
I led the full-stack implementation: store and item records, basket comparisons, price ingestion, caching, and asynchronous alerts. The course-scoped system used simulated updates to exercise monitoring and alert behavior.
Architecture
React presents comparisons, Node.js handles application requests, and PostgreSQL stores items, stores, and price observations. Indexed aggregations calculate basket totals. A scraping pipeline collects prices, while caching avoids repeating comparison work.
Keeping aggregation in PostgreSQL makes the basket calculations explicit and queryable. Caching reduces repeated work, with freshness as the main tradeoff.
Status and next steps
Completed as an academic project. A maintained service would need reliable collection as retailer pages change, a clear price-freshness policy, and alert-delivery checks. A reproducible dataset and query tests are the next useful improvements.