JSON Data lost on reload

Hello ,

I’m pretty new to this but working it out slowly , loving it so far. I am saving data from my app into JSON, something has happened and I think the app has reloaded, this has wiped out the data.

I have a backup method to download and upload the JSON. But I was wondering as with many things, have I missed the point of something like a gitignore list?

is there a way to not lose the data on bug fixing ?