Commit Graph

6 Commits

Author SHA1 Message Date
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
e9b4528dc5 Fix network and /api endpoint 2025-07-16 10:42:14 -06:00
49bd77bec6 Try to rebuild and deploy
All checks were successful
Deploy Apartment API / deploy (push) Successful in 9m49s
2025-07-15 22:02:16 -06:00
4833f55b29 Remove health check
All checks were successful
Deploy Apartment API / deploy (push) Successful in 9m41s
2025-07-15 20:47:34 -06:00
4c3b63c4bf Added priority to traefik tag
All checks were successful
Deploy Apartment API / deploy (push) Successful in 9m44s
2025-07-15 20:36:12 -06:00
9153a2faf8 Initial commit
All checks were successful
Deploy Apartment API / deploy (push) Successful in 9m48s
2025-07-15 17:51:26 -06:00