Skip to content

C2C 电商系统微服务架构,展示spring cloud alibaba常见组件的使用

License

Notifications You must be signed in to change notification settings

evasnowind/c2c-social-govern

Repository files navigation

c2c-social-govern

C2C 电商系统微服务架构

本项目主要为了展示spring cloud alibaba各种组件的使用。

运行说明

  • 准备一个mysql 数据库,将c2c.sql导入到数据库中
  • 修改项目中配置文件有关数据库的配置
  • 修改nacos注册中心配置,改为你所搭建的nacos集群
    • c2c-social-govern-report
    • c2c-social-govern-reviewer
    • c2c-social-govern-reward
  • 修改数据库配置,改为你的mysql数据库
    • c2c-social-govern-report
    • c2c-social-govern-reviewer
    • c2c-social-govern-reward
  • 运行mvn clean install,将api包打入到maven仓库中
    • 若是maven远端仓库,则需要运行mvn deploy部署。
  • 启动时首先运行c2c-social-govern-reward、c2c-social-govern-reviewer(作为service provider),然后再启动c2c-social-govern-report(作为service consumer)

About

C2C 电商系统微服务架构,展示spring cloud alibaba常见组件的使用

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages