Без опису

unknown de83be88f9 first commit 2 роки тому
bin de83be88f9 first commit 2 роки тому
config de83be88f9 first commit 2 роки тому
controllers de83be88f9 first commit 2 роки тому
coverage de83be88f9 first commit 2 роки тому
helpers de83be88f9 first commit 2 роки тому
images de83be88f9 first commit 2 роки тому
model de83be88f9 first commit 2 роки тому
routes de83be88f9 first commit 2 роки тому
test de83be88f9 first commit 2 роки тому
validation de83be88f9 first commit 2 роки тому
.eslintignore de83be88f9 first commit 2 роки тому
.eslintrc.js de83be88f9 first commit 2 роки тому
.gitignore de83be88f9 first commit 2 роки тому
app.js de83be88f9 first commit 2 роки тому
jest.config.js de83be88f9 first commit 2 роки тому
nodemon.json de83be88f9 first commit 2 роки тому
package-lock.json de83be88f9 first commit 2 роки тому
package.json de83be88f9 first commit 2 роки тому
readme.md de83be88f9 first commit 2 роки тому

readme.md

homework number 3 ,I have to use ODM mongoDb and mongoose for set portal between them like on previous homework when i used local db when i saved data local with fs.readFile and write file in json format.Also i have changed structure about logic introduced controllers and divine with bigger abstraction than it was for understanding and easy support.Did some fix with validation and create Schema for mongoose with additional validation fields and one of them want highlight it's validation _id cross objectId() .