Page 381 - Nodejs 교과서 개정2판
P. 381
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
3002 번 포트에서 대기 중
Mongoose: users.createIndex({ name: 1 }, { unique: true, background: true })
몽고디비 연결 성공
npm start۽ ࢲߡܳ प೯ೠ റ IUUQ MPDBMIPTU ী ࣘೞݶ җ э ചݶ ա২פ ই٣о
ObjectIdۄח ݅ ܰҊ গܻா࣌җ زੌೞѱ زפ न ކҳझ৬ द௬ۄૉ ކҊ٣
࠺৬ .Z42- ର ٸޙী ٘о ܵפ ف ؘఠ߬झܳ ࠺Ү೧ࢲ ࠁݶ ؾפ
§ Ӓܿ ކҳझ ࢲߡ ചݶ
ઁ গܻா࣌ਸ ٜ݅ӝ ਤೠ ળ࠺ח լणפ ೞ݅ ݽٚ Ѫਸ ܖח ঋওणפ ۽Ӓੋ ҳഅ
স۽٘ +85 ష ੋૐ पदр ؘఠ ࣠ ৻ࠗ "1* োز ١ ઁܳ ೯ೞݶࢲ ܙ Ѫੑפ
ࠗఠח গܻா࣌ਸ ٜ݅যࠁݶࢲ Әө ߓ ղਊਸ ਊ೧ࠇद