weatherDemo

一、安装server, weatherServer1.0

  1. git clone https://github.com/wendaomin/weatherServer1.0.git 下载该项目文件

  2. 进入该项目工作区 npm i 下载npm包

  3. nodemon app 启动该项目

  4. 成功提示:服务器已经启动 http://localhost:3003

二、安装react项目 weatherDemo1.0

  1. git clone https://github.com/wendaomin/weatherDemo1.0.git 下载该项目文件
  2. 进入该项目工作区 npm i 下载npm包
  3. npm run start 启动该项目
  4. 首页 localhost:3000 天气页 localhost:3000/weather