about db/config.js const mongoose = require('mongoose'); mongoose.connect('mongodb://xxxxx:27017/xxx'); module.exports = mongoose