本地启动Mongodb 端口号 27017 示例:mongod --dbpath /Users/sampeng/mongodb/db 安装npm package npm install 运行开发测试 npm run dev 运行测试文件 npm run test