/weatherDemo

天气小工具

Primary LanguageJava

weatherDemo

天气小工具

启动

前端

# 下载nodejs# install
cd frontend/weather-demo
npm install
npm run build

nginx

# 替换下面这个地址至你自己的打包地址
Y://Documents//GitHub//weatherDemo//frontend//weather-demo//build;
# 启动ng
start nginx.exe

后端

# 后端启动类
WeatherDemoApplication

全部完成启动后,浏览器访问http://localhost:9969 如图:

image

注意:开发测试所用浏览器为EDGE,其他浏览器未适配

后端

SOA架构,模块关系如下:

image

所用技术栈:

JDK17 + Springboot + springboot-web + lombok + openweathermap-api + pinyin4j

前端

前端所用技术栈:

React + Rantd + axios