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.
相關文章
相關標籤/搜索