There are 2 things called "file system api" in the browser.
One is the "File System Access API" to store files on a users OS. This cannot be used to store data of a database.[1]
The other one is the "real" filesytem api, which is not supported by most browsers. [2]