Kelly aac1181f3d perf(analytics): Fix 7.5s national summary endpoint
- Use denormalized d.product_count instead of JOIN to store_products
- Remove expensive per-product aggregations (avg_price, brand counts, stock)
- Query now runs in <100ms instead of 7.5s

The massive JOIN between dispensaries and store_products was causing
the slow load. State metrics now use pre-computed product_count column.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 23:31:10 -07:00
2025-12-07 15:20:22 -07:00

CI/CD enabled

test trigger

CI trigger

Description
CannaiQ Scraper
Readme 116 MiB
Languages
TypeScript 55.3%
JavaScript 38.8%
PLpgSQL 3.5%
PHP 1.3%
Python 0.5%
Other 0.5%