Code Monkey home page Code Monkey logo

genesis's Introduction

Genesis. Is a Spring Cloud Project

Genesis 中文意思: 起源, 哈哈哈哈......

技术架构

genesis 是一个基于Spring cloud(Camden.RELEASE) Spring Boot(1.4.1.RELEASE) Mybatis(3.3.0) 通用Mapper 通用分页Pagehelper完成的一个基础组件架构,后面会持续更新...

MAVEN模块说明

1. 基础组件说明

项目名称 端口 描述 URL
genesis-common 公共模块(工具类,资源......)
genesis-core 核心代码
genesis-model 公共实体对象

2. Spring Cloud(genesis-server)组件说明

项目名称 端口 描述 URL
genesis-server-discovery 8761 服务注册中心
genesis-server-config 服务配置中心(更新中...)
genesis-server-gateway 8050 服务网关
genesis-server-monitor 服务监控(更新中...)

3. Spring(genessis-spring)扩展组件说明

项目名称 端口 描述 URL
genesis-spring-extends Spring 扩展(更新中...)
genesis-spring-plugins Spring 插件(更新中...)

4. Demo 提供组件使用说明

项目名称 端口 描述 URL
genesis-demo 8080 API接口
genesis-demo-goods-service 8081 Goods服务提供者
genesis-demo-goods-service2 8083 Goods服务提供者(用于启动测试 API goods模块Feign Client负载均衡)
genesis-demo-order-service 8082 Order服务提供者

架构图(目前待完善)

cmd-markdown-logo

服务中心HA说明(目前待完善)

熔断监控视图(目前待完善)

使用说明

1,主机名配置:

主机名配置(C:\Windows\System32\drivers\etc\hosts文件)
127.0.0.1 discovery config-server gateway movie user feign ribbon

2,项目启动:

  • 数据库脚本 genesis-demo resources/db/下面spring-cloud-test.sql
  • 首先启动:genesis-server-discovery 注册中心,访问:ip:8761
  • 启动API genesis-demo 访问http://localhost:8080/swagger-ui.html
  • 分别启动 两个服务提供者
  • 通过API文档Try 就可以了

3, 服务注册展示:

server-demo

API 文档访问

分布式事务测试(暂时没开发,后续更新...)

genesis's People

Watchers

 avatar  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.