Data storage. Most apps need it, and My Mobile Organizer is no exception. We’re talking beyond the localStorage you saw in previous chapters. That covered the client-side offline data cache, but we need something more persistent on the server side as the authoritative data store.
There’s no shortage of options, all of which are available in the world of Node.js. You could go with plain old text files and simply read and write them directly on the local file system. There are relational database connectors available so that you could go with something like MySQL or Oracle.
Those options, however, have (at least) one downside in common: rigidity. With text files, you’ll need to adhere to some specific format and ...