Nav apraksta

unknown 7b65f081b1 done small menu 3 gadi atpakaļ
bin de83be88f9 first commit 3 gadi atpakaļ
config de83be88f9 first commit 3 gadi atpakaļ
controllers c19140aba7 finished authorization 3 gadi atpakaļ
coverage de83be88f9 first commit 3 gadi atpakaļ
helpers 2e619c6e22 done some changes 3 gadi atpakaļ
images 7b65f081b1 done small menu 3 gadi atpakaļ
model 2e619c6e22 done some changes 3 gadi atpakaļ
routes 2e619c6e22 done some changes 3 gadi atpakaļ
test de83be88f9 first commit 3 gadi atpakaļ
validation 2e619c6e22 done some changes 3 gadi atpakaļ
.eslintignore de83be88f9 first commit 3 gadi atpakaļ
.eslintrc.js de83be88f9 first commit 3 gadi atpakaļ
.gitignore de83be88f9 first commit 3 gadi atpakaļ
app.js 285820093e add something 3 gadi atpakaļ
jest.config.js de83be88f9 first commit 3 gadi atpakaļ
nodemon.json de83be88f9 first commit 3 gadi atpakaļ
package-lock.json de83be88f9 first commit 3 gadi atpakaļ
package.json de83be88f9 first commit 3 gadi atpakaļ
readme.md de83be88f9 first commit 3 gadi atpakaļ

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() .