Article published on: Jan 10th, 2020
Updated on: Apr 18th, 2020
Estimated Reading Time: 2 minutes
Once I was alerted to the fact that CouchDB exsited I was really pleased with how it would fit into the tech stack. Firstly it is Apache Licensed. It is web tech focussed with a focus on local data and although you can run it on a server, they also have a macOS application which means you can run the whole set up with local connections only, this connection to design principles of data ownwership. A group of makers / designers can just “spin up” and instance of nodenogg.in and there is no need for a centralised source of the data, it is stored on all machines with one of the devices managing sync. The data structure is JSON which is a great structure and also human readable, along with being able to almost mirror Vue data structures. I installed CouchDB on a centOS box very easily, the other thing that was great was the document model over tables structure model for the data meaning that you can in fact build the schema as you go, this meant that my first few attempts at data structure wouldn’t cause headaches as this could also interate over time.
PouchDB was created to help web developers build applications that work as well offline as they do online.
It enables applications to store data locally while offline, then synchronise it with CouchDB and compatible servers when the application is back online, keeping the user’s data in sync no matter where they next login.