Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fangge889/Zebra

Repository files navigation

Introduction 介绍

Gitter Build Status

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

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

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接口地址,进行请求,并返回到前端结果。

About 关于落雨

License 许可协议

About

Zebra4J/Zebra4Js 基于SpringBoot的Java Web/Nodejs框架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 86.0%
  • Java 9.9%
  • JavaScript 2.3%
  • Nginx 1.8%

AltStyle によって変換されたページ (->オリジナル) /