This module describes and exports all the data models used in the MiNi project.
git clone https://github.com/thotino/udb-mini.git
cd udb-mini
npm install
git clone [email protected]:thotino/udb-mini.git
cd udb-mini
npm install
Just import this module in your project, request the data models and use the static functions. Example :
const models = require("udb-mini");
const userProfileData = {
firstName: "John",
lastName: "Doe",
mailAdress: "[email protected]",
};
const userCreationPromise = models.userModel.customCreation(userProfileData);