How to represent a tree structure in NoSQL
- by Vlad Nicula
I'm new to NoSQL and have been playing around with a personal project on the MEAN stack (Mongo ExpressJs AngularJs NodeJs). I'm building a document editor of sorts that manages nodes of data. Each document is actually a tree.
I have a CRUD api for documents, to create new trees and a CRUD api for nodes in a given document.
Right now the…