const mongoose = require('mongoose');. 7. const app = express();. 8. mongoose.connect('mongodb://localhost:27017/mongo-tree' , {. 9. useNewUrlParser: true,.
確定! 回上一頁