S
S
Sergey Zenkovich2020-10-15 09:29:32
JavaScript
Sergey Zenkovich, 2020-10-15 09:29:32

Storing, modifying and saving data for a web application?

There is a small web application written in javaScript. All data on the basis of which the UI is drawn is stored in a separate js file as a common object with arrays, primitives, etc. The bottom line is that I store this data in LocalStorage, but when the browser cache is cleared, everything disappears. What are the alternatives? Where to store such data. The json format is ideal for me, but javaScript cannot change and resave JSON files.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2020-10-15
@JamesHatfield

For example: https://developer.mozilla.org/ru/docs/Web/API/Inde...

B
bqio, 2020-10-15
@bqio

in the database. Try firebase.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question