1. 电影系统
-
页面:
- 首页:localhost
- druid首页:http://localhost/druid/index.html
- 后台首页:localhost:/admin
-
缺点:
- 系统没有做成微服务式, 前台后台耦合,都是在同一个系统中
- Service 没有接口,都是直接的 Service 类
-
改进:
- 用dubbo做成微服务
- 将公共的接口文件,通用类抽取出来作为子模块,供其他模块引用
-
配置文件:
- application.properties: 全局配置
- application.yml:druid 的配置
-
所用技术:
-
SpringBoot
-
dao : Mybatis
-
数据库连接池:druid
- username: admin
- password: admin
-
缓存: redis
- 位置: linux 中
- 作用:存放访问豆瓣连接传回的 json串
-
数据库:Mysql
- 本地的数据库
-
前端:
- 模板引擎:Themeleaf
- 前端框架:Layui