Node.js project for data validation and referencial integrity in MongoDB