FrigadeHQ / remote-storage

remoteStorage is a simple library that combines the localStorage API with a remote server to persist data across sessions, devices, and browsers. It works as a simple key value database store and backend with support for React, Next.js, Vue, Node, or any Javascript stack
https://remote.storage
MIT License
1.21k stars 27 forks source link

How to delete all server-side storage? #18

Closed mdxiaohu closed 7 months ago

mdxiaohu commented 7 months ago

Or are all Api the same as using local storage. Or rather, delete the data corresponding to userId.

christianmat commented 7 months ago

Hey there! If you're self-hosting, the easiest way to nuke the data is to simply connect to the underlying Redis or Sqlite database and remove all content. Alternatively, you can delete individual rows using the API or JS SDK