This app accesses the Police API in real time.
Out of the respect to the tax payer-funded API Rate limit, makes no more than 10 requests per second, and out of respect of the user caches to Index DB, purging when reaching the maximum allowed by the storage manager.
Still the API often refuses to serve enough data, despite retries: perhaps I'll write something to populate and ship a local sqlite3 db.
Colours points by crime category and optionally also by court disposal, the outcome - if any - of the police action.
Includes address look-up and auto-complete.
Maplibre, DeckGL, IndexDB API, fetch API.
bun install
bun dev
bun preview
bun run build
bun run deploy- Look at moving some of it in into thw worker thread.
