val-town-docs
val-town-docs copied to clipboard
Guide: How do I persist/save data in Val Town?
Discuss our recommended options, ie blob, sqlite, as well as other options, like supabase, other dbs, google sheets, etc.
Basically this article but for us: https://developers.cloudflare.com/workers/platform/storage-options/
Hey @stevekrouse, so basically we have to add the whole guide in https://docs.val.town/ for the the different storage and how to utilise them in our vals?
The point of this ticket is to create a guide in our docs (a single page) that explains the different data-storage options, and when you should choose one vs another. This might be a difficult thing for an outsider to contribute, but you're welcome to try
Thanks for the clarification. I'll soon update you with some content here only.
Hey @stevekrouse, here is just a sample to the guide. Let me know how is it ? https://gist.github.com/Muhammad-Owais-Warsi/a52412e3a38aac9aa466afc3cadc44a3
Hey @Muhammad-Owais-Warsi, I appreciate you giving this a shot! What you have looks good from a format perspective, but from a content perspective, it has a number of inaccuracies. It doesn't solve the main purpose here: helping users decide when to use which data source. I have a feeling this guide will have to be written by me or someone at Val Town for it to pass muster. But thanks for trying!
I understand. Thanks for the appreciation 🙂