If every user of the site will have their own completely separate database, then you may be able to use the IndexDB API:
IndexedDB API - Web APIs | MDN[
^]
However, this will be tied to a specific browser. For example, a user who uses your site to create a database in Chrome would not be able to switch to Edge or Firefox without losing their data.