一、安装server, weatherServer1.0
-
git clone https://github.com/wendaomin/weatherServer1.0.git 下载该项目文件
-
进入该项目工作区 npm i 下载npm包
-
nodemon app 启动该项目
-
成功提示:服务器已经启动 http://localhost:3003
二、安装react项目 weatherDemo1.0
- git clone https://github.com/wendaomin/weatherDemo1.0.git 下载该项目文件
- 进入该项目工作区 npm i 下载npm包
- npm run start 启动该项目
- 首页 localhost:3000 天气页 localhost:3000/weather