unknown 5e2f73db2a work on call | 2 лет назад | |
---|---|---|
bin | 2 лет назад | |
config | 2 лет назад | |
controllers | 2 лет назад | |
coverage | 2 лет назад | |
files | 2 лет назад | |
helpers | 2 лет назад | |
model | 2 лет назад | |
routes | 2 лет назад | |
validation | 2 лет назад | |
.eslintignore | 2 лет назад | |
.eslintrc.js | 2 лет назад | |
.gitignore | 2 лет назад | |
app.js | 2 лет назад | |
jest.config.js | 2 лет назад | |
nodemon.json | 2 лет назад | |
package-lock.json | 2 лет назад | |
package.json | 2 лет назад | |
readme.md | 2 лет назад |
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() .