In this blog post we'll show how to create parent-child relations using restdb.io and the JavaScript API. Full source code avaliable at the end.