Who am I
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas
How do you run the operation from a
How do you test?
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas
Entities are inspired by the Service Layer design pattern
@thanpolas
@thanpolas
userEnt.create(udo);
userEnt.delete(uid);
userEnt.sendMessage(fromId, toId, message);
videoEnt.process(videoPath);
@thanpolas
userEnt.create({
firstName: "Thanasis",
lastName: "Polychronakis",
email: "thanpolas@gmail.com",
});
@thanpolas
console.log(udoOut);
{
"id": "3kdp349r7fhw",
"firstName": "Thanasis",
"lastName": "Polychronakis",
"email": "thanpolas@gmail.com",
}
@thanpolas
@thanpolas
create()
read()
readOne()
readLimit()
update()
delete()
count()
@thanpolas
@thanpolas
@thanpolas
@thanpolas
@thanpolas