I ask myself lots of questions about the choice of databases for my future react-native application, because I would like a local database that stores the static data of the application. I would like also to store the data created by the user on a data server.
- I thought using Realm for local storage
- MongoDB for remote storage
Problem: I do not know how to synchronize remote data, because when the user is offline, I want the data to be stored locally and then when it goes offline, I want the data to be sent to the server
Can these two databases be used mutually, or is MongoDB able to store the data locally?