Stephen Minakian c851a26beb Add analytics endpoint, price history API, and fix daysAvailable calculation
- Fix daysAvailable to detect gaps >25 days (indicates unit was re-listed)
- Add /unit/:unitCode/price-history endpoint for full price history
- Add /analytics endpoint with monthly trends, seasonality analysis,
  plan performance, historical comparisons, and price per sqft stats
- Add /last-scrape endpoint to return timestamp of most recent data
- Increase priceHistory limit from 5 to 30 for better chart data
2026-01-21 10:10:39 -07:00
2025-07-15 17:51:26 -06:00
2025-07-15 17:51:26 -06:00
2025-07-16 10:42:14 -06:00
2025-07-15 17:51:26 -06:00
2025-07-15 17:51:26 -06:00
Description
No description provided
1.4 MiB
Languages
JavaScript 97.8%
HTML 2.1%