Sanity Checks

All sanity checks and test pages for the Crime Stats application

Test NameDescriptionPathStatus
MapBox Basic Test
Verify MapBox GL JS is loading correctly with a simple map and marker
/sanity/mapbox✅ Working
MapBox with Local Data
Test MapBox rendering with local JSON crime data (200 sample records)
/sanity/mapbox-data✅ Working
LA Real Data (5 Points)
Fetch 5 real crime incidents from LA Open Data API with table view
/sanity/la-real-data✅ Working
Main Crime Map
Live crime data from LA Open Data API (10 incidents)
/✅ Working

Quick Reference

  • MapBox Token: Configured in src/config/app.config.ts
  • Sample Data: src/data/la-crime-sample.json (200 records)
  • API Client: src/lib/la-crime-api.ts
  • LA Open Data API: 2nrs-mtv8