text: const NeDB = require('nedb');
  const path = require('path');
  
  module.exports = function (app) {
      const dbPath = app.get('nedb');
      const Model = new NeDB({
          filename: path.join(dbPath, 'my-object-list.db'),
          autoload: true
      });
  
      return Model;
  };
  