先安装nodejs
iDEAAM/7/1622:47:25
然后安装npminstallexpress
iDEAAM/7/1622:47:35
然后安装npminstall-gexpress-generator 然后 express myapp 然后 npm start 使用浏览器访问地址:http://localhost:3000/
可以看到:
Express
Welcome to Express 安装Mongodb驱动 npm install -g mongoose -g//代表全局安装
时间:2022-12-12 15:40:21
先安装nodejs
iDEAAM/7/1622:47:25
然后安装npminstallexpress
iDEAAM/7/1622:47:35
然后安装npminstall-gexpress-generator 然后 express myapp 然后 npm start 使用浏览器访问地址:http://localhost:3000/
可以看到:
Express
Welcome to Express 安装Mongodb驱动 npm install -g mongoose -g//代表全局安装