Does your database also runs offline/locally in the browser? Seems to be the reason for the large number of shards.
You can run it locally, but it is a client-server architecture, which means that something has to run behind the browser.
You can run it locally, but it is a client-server architecture, which means that something has to run behind the browser.