This module was way too cumbersome for such a simple implementation ; now the resources are just plain json loaded in astro instead of full on API routes.
This also eliminates the need to have a backend service to serve the API and the app can be deployed statically
Afaik, Nanostores need SSR in the setup I used, so for now, the build will have to be deployed on a node server.
I could have used a full Vue app to avoid this, but oh well, nothing we can't refactor ; and it just works anyways. Plus it would have meant switching to a vue leaflet wrapper that hasn't been maintained in years.
Can always change it later.