Answer the question
In order to leave comments, you need to log in
What database to use for offline-first app?
Node.js @6 server
I'm about to write a small multi-user crm. Offline-first is necessary not because it is fashionable, but because it is a great opportunity to work in a slow-intermittent Internet. (namely, these conditions will be)
React is chosen for the view, since it already has many ready-made components (which will be very useful) + isomorphism out of the box (which is not unimportant for the page load time)
As for the db, there are such options:
- Use PouchDB on client and server as replication is out of the box. But I don’t like nosql because I’m not doing a blog with 3 sections, but still any crm and I’m already used to sql queries that are convenient for compiling all kinds of reports and so on.
-Use PouchDB on client and MysqlDOWNhttps://github.com/kesla/mysqldown for mysql on the server, which can provide fast nosql on the client and convenient mysql on the server
I don't know any more options, as there is little information on the topic.
What is better in this situation?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question