I am currently moving all my application development to a document driven development. So at the current point, I am also debating different types of database systems for persistance. I am currently developing test code using both approaches using MongoDB and Sqlite3.
I've started preliminary development using SQLLite 3
MongoDB has become somewhat of a defacto DB in computational materials due to the design choice to use it in pymatgen.
Installation on OSX
brew tap mongodb/brew
brew install mongodb-community@4.2
https://www.w3schools.com/python/python_mongodb_getstarted.asp
https://www.tutorialspoint.com/mongodb/mongodb_relationships.htm
mongoDb. "Install MongoDB Community Edition on macOS." Link.