SpringBootUnity--springboot多场景下实际应用的集合

Build Status
GitHub issues
GitHub forks
GitHub stars
GitHub license
[Maven Central]()
[GitHub followers]()
[GitHub watchers]()css

环境

  • maven latesthtml

  • jdk1.8java

  • spring boot 1.5.6 release(目前最新版)mysql

  • 我的推荐idea来代替eclipse(但愿不要被说成异教徒必须死)nginx

  • mysql5.5+git

  • git: 版本管理程序员

  • nginx: 反向代理服务器github

项目简介

mark

启动方式

  • spring boot内置了tomcat作为web容器,默认打成jar包直接放在服务器上执行就能够了web

java -Xms64m -Xmx2048m -jar project.jar 5 >> ./project.log &spring

jar

  • 若是须要定制化打成war包,那么也很简单。在maven中作下设置就ok了,而后把war包扔到tomcat下面就能够运行了

<modelVersion>4.0.0</modelVersion>
    <artifactId>api</artifactId>
    <packaging>war</packaging>

war

更新日志

  • 2017-09-02 api模块: 添加swagger-bootstrap-ui,和原有ui并行存在。
    http://localhost:8080 默认UI

http://localhost:808/doc.html bootstrap-ui

1. spring boot版本从1.4.3更新到1.5.6   
2. 修复不配置数据库信息没法启动的bug   
3. 版本号更新到2017.1   
4. api模块(swagger)添加开源库swagger-bootstrap-ui,和swagger默认UI同时存在。  
5. web模块添加数据库sql文件,导入后一键启动可直接访问到web界面。

swagger

默认

bootstrap-ui

bootstrap

bootstrap

bootstrap

项目说明

需求是多变的,本项目是以spring boot为基础,在使用spring boot的过程当中对应不一样的需求选用不一样的技术和spring boot进行搭配,所以本项目是个偏于使用示例的定位。同时若是您在使用spring boot的过程当中有什么好用的技术期待您对本项目的PR。

关于我

@小莫:本人是一个热爱开源精神、追求新潮的开发者,技术过得去,还算勤勉!习惯以github的issue驱动方式来组织个人项目,也但愿感兴趣的朋友和我联系,一块儿进步,共同开发感兴趣的开源项目。目前任rpg服务端主程,熟悉游戏开发和web开发。同时也是个喜欢二次元的死宅,爱动漫,略懂日语。

在线小工具

问题反馈

  1. 欢迎提issue一块儿完善这个项目。

  2. QQ: 83387856

  3. 我的主站: https://xiaomo.info

在线文档

License

Copyright 2017 xiaomo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
相关文章
相关标签/搜索