简单的nodejs天气应用
简单的Node.js命令行天气应用程序
在本地运行测试
在本地运行Web应用程序:
npm install
node server.js
// Now open your browser and visit: localhost:3000
在本地运行docker
# if it is exist, and make sure there is no other application taken the port 3000 on host.
docker rm -
API-天气-日记-应用程序
项目环境设置
Node and Express installed on the local machine
The ‘cors’ package installed in the project from the command line
The body-parser package installed and included in the project.
API和路由
There's a Javascr ipt Object named projectD