天气小工具
# 下载nodejs
略
# install
cd frontend/weather-demo
npm install
npm run build
# 替换下面这个地址至你自己的打包地址
Y://Documents//GitHub//weatherDemo//frontend//weather-demo//build;
# 启动ng
start nginx.exe
# 后端启动类
WeatherDemoApplication
全部完成启动后,浏览器访问http://localhost:9969 如图:
注意:开发测试所用浏览器为EDGE,其他浏览器未适配
SOA架构,模块关系如下:
所用技术栈:
JDK17 + Springboot + springboot-web + lombok + openweathermap-api + pinyin4j
前端所用技术栈:
React + Rantd + axios