Skip to content

基于SpringBoot的web框架,整合了常用的组件如mysql、redis、mongodb、elasticsearch、rabbitmq、quartz、freemaker、jsonrpc、ehcache等,提供基于centos6.x的自动化安装部署脚本、服务健康检查脚本,脚本实现技术为Makefile、shell、python2.x。

License

Imaginary11/rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(项目重构、之前的工程DELETE了,近期会补充完整)

API规范

REST 风格,格式 {模块}/{版本}/{资源} 如

接口名称 定义 协议
查询用户信息列表 /account/v1/user GET
查询用户详情 /account/v1/user/{user_id} GET
查询用户地址信息 /account/v1/user/{user_id}/address GET
新增用户信息 /account/v1/user POST
修改用户信息 /account/v1/user/{user_id} PUT
删除用户信息 /account/v1/user/{user_id} DELETE

概述

基于SpringBoot的web框架,整个了常用的组件如mysql、redis、mongodb、elasticsearch、rabbitmq、quartz、freemaker、jsonrpc、ehcache等,提供基于centos的自动化安装部署脚本、服务健康检查脚本,脚本实现技术为Makefile、shell、python2.x。

基础环境

  • Springboot 1.59

  • JDK 8

  • WEB容器 Undertow

编译部署

运行方式为jar包,打包方式为分包打包,主程序为一个单独的jar包和其余的第三方依赖包。执行make install 编译后,在目录下会根据pom文件版本判断生成多个安装包。

  • 全量安装包
    • 如果pom版本与当前主分支版本号一致,说明修改了pom文件,引入了第三方依赖包,此时会生成一个安装文件,即全量安装包。
  • 快速升级包
    • 如果pom版本与当前主分支版本号不一致,说明最新的提交未修改pom文件,没有引入第三方依赖包,此时会生成一个快速升级包和一个全量安装包。快速升级包只含有主程序和配置文件,体积小。

安装界面

组件支持

  • Cache
    • Redis
    • Ehcache
  • NC
    • Redis
    • RabbitMQ
  • DB
    • Mybatis
    • MongoDB
  • Template
    • Freemaker
  • Schedule Job
    • Quartz
  • Some Others
    • Interceptor
    • Logback
    • Auto Install And Deploy Script
    • And So on
    • Keep updating ...

About

基于SpringBoot的web框架,整合了常用的组件如mysql、redis、mongodb、elasticsearch、rabbitmq、quartz、freemaker、jsonrpc、ehcache等,提供基于centos6.x的自动化安装部署脚本、服务健康检查脚本,脚本实现技术为Makefile、shell、python2.x。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published