Giter Club home page Giter Club logo

cloud-flow's Introduction

cloud-flow

云流——微服务聚合平台

核心依赖

SpringBoot 2.1.7.RELEASE

模块简介

cloud-flow
|-- flow-framework-parent 父项目,管理版本依赖
    |-- flow-framework-common           公共模块,为各个子模块调用
    |-- flow-framework-mbg              mybatis-plus自动生成工具
    |-- flow-microservice-authcenter    授权中心
    |-- flow-microservice-gatewayr      网关
    |-- flow-microservice-member        会员中心
    |-- flow-microservice-order         订单服务
    |-- flow-microservice-payment       支付服务
    |-- flow-microservice-product       产品服务

启动说明

注册&配置中心

项目使用的微服务是基于alibaba的springcloud,因此需要做以下准备:

  • 下载nacos,他是服务的注册中心和配置中心。详细使用可参考官方文档

  • 解压到本地,进入bin目录,打开终端

  • 输入命令,启动nacos,以单机为例:

sh startup.sh -m standalone

服务启动

以下启动流程是一个常规的微服务启动流程,若是开发或测试功能,根据需要启动即可

  1. GateWayApplication

网关服务,支持路由,断言,过滤等功能

  1. AuthCenterApplication

授权中心,支持token的颁发

为避免只启动单独几个应用,默认注释认证和授权配置

  1. ProductApplication

产品服务,模拟生产者

  1. OderApplication

订单服务,默认消费者

  1. PaymentApplication

支付服务,支持支付宝和微信支付

  1. MemberApplication

会员中心,简要集成session和jwt的使用

代码格式化说明

本项目代码使用了阿里巴巴的代码规范,Eeclipse/Idea代码格式化设置可参考链接: java代码格式化模板(阿里代码规范)

cloud-flow's People

Contributors

chetwhy avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.