Spring Cloud 打造微服务房产销售平台
在现代的房地产市场越来越复杂化,管理越来越信息化的今天,如何管理好日常的数据变得越来越重要了。现代的房地产市场不仅包含新房,还包括二手房地产市场两部分,所以对数据的分类就显得越来越重要了。面对这样的局面,随着房地产市场的不断成熟,竞争的加剧,越来越需要一个成熟的工具来管理这些数据,提高效率,促进企业的不断壮大就显得重要了。
本系统实现了对房产相关数据的录入,查询,删除及修改等相关功能,主要划分3个模块,用户模块(客户、经济人)、房产模块、博客管理
技术 | 名称 | 官网 |
---|---|---|
Spring Boot | Spring快速开发框架 | https://spring.io/projects/spring-boot |
elasticsearch | 分布式多用户能力的全文搜索引擎 | https://www.elastic.co/products/elasticsearch |
logstash | 数据分析 | https://www.elastic.co/cn/products/logstash |
kibana | 分析与可视化平台 | https://www.elastic.co/cn/downloads/kibana |
Spring Admin | 服务监控 | https://github.com/codecentric/spring-boot-admin |
Spring cloud Sleuth | 分布式追踪 | https://cloud.spring.io/spring-cloud-sleuth/ |
Spring cloud Hystrix | 服务熔断 | https://github.com/Netflix/Hystrix |
Zuul | 网关 | http://cloud.spring.io/spring-cloud-static/Finchley.RELEASE/single/spring-cloud.html#netflix-zuul-starter |
RestTemplate | 服务交互 | https://docs.spring.io/spring/docs/3.0.x/javadoc-api/org/springframework/web/client/RestTemplate.html |
Feign | 服务通信和负载均衡调用 | http://cloud.spring.io/spring-cloud-static/Finchley.RELEASE/single/spring-cloud.html#_spring_cloud_openfeign |
druid | 数据库连接池 | https://github.com/alibaba/druid |
log4j2 | 日志组件 | http://logging.apache.org/log4j/2.x/ |
Maven | 项目构建管理 | http://maven.apache.org/ |
Git | 分布式版本控制 | https://git-scm.com/ |
使用IDEA导入项目
修改各个项目的的application.properties配置文件
依次启动eureka-server、admin、hystrixdashboard、zipkinUi、api-gateway、comment-srv、house-srv、user-service
启动Nginx(静态图片服务器,图片见nginx文件夹)、Redis服务