Skip to content
Zebra4J/Zebra4Js 基于SpringBoot的Java Web/Nodejs框架
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
zebra4j add zebra-design Dec 25, 2017
zebra4js
.gitattributes add language Apr 25, 2018
.gitignore ignore file Nov 4, 2016
LICENSE Add LICENSE Nov 24, 2016
README.md feature:add featurelist Jan 21, 2019
Zebra-index.html zebra Nov 25, 2016
Zebra.jpg zebra Nov 25, 2016
maven-repo-settings-ali.xml core util Nov 2, 2016
zebra-design.png add zebra-design Dec 25, 2017

README.md

Introduction 介绍

Gitter Build Status

GitHub地址:https://github.com/ae6623/Zebra

OSCGit地址:http://git.oschina.net/ae6623/Zebra

image

zebra-design

image Zebra4J是一款使用Sping Boot特性全新开发的微服务WEB框架,尝试封装一些常用框架比如dubbo等作为spring-boot组件,结合微服务的框架思想,利用NodeJsZebra4Js作为应用网关,使得各个功能分层服务,持续迭代,解放团队生产力,快速构建企业级Web 应用。

Frameworks and Tools 构建

  • Java&IDE: JDK8 Lamda/Intellij Idea 16
  • Backend: SpringBoot Docker Zookeeper (Configured by annotation/app)
  • Database: Mysql/MongoDB/Redis
  • Cache:Memcached/Redis
  • Web Server: Nginx/Tomcat 7
  • Build Tool: Maven
  • Other: Commons-Dbcp2(database connection pool) JUnit sl4j Jackson FastJson
  • Zebra4J Port:http://localhost:8888
  • Zebra4Js Port:http://localhost:8360

项目介绍

  • 1.如何启动
    • Zookeeper集群,3台即可,也可以搭建伪集群,一台机器,解压多个Zookeeper分别放在三个目录,端口号不同即可,核心配置文件在zoo.cfg
    • 服务端Zebra4j是基于SpringBoot的注册服务端的一个Demo,当多个提供Api的微服务启动,将自动寻找Zookeeper并注册所有的Controller请求映射。
    • 网关端Zebra4js是基于Nodejs的微服务服务发现,用来作为网关层,对前端请求进行接收,并调用Zookeeper,获取真实的微服务Api接口地址,进行请求,并返回到前端结果。

Feature-list

About 关于落雨

License 许可协议

You can’t perform that action at this time.