在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jakubnabrdalik/spring-boot-gradle-starter开源软件地址(OpenSource Url):https://github.com/jakubnabrdalik/spring-boot-gradle-starter开源编程语言(OpenSource Language):Groovy 45.9%开源软件介绍(OpenSource Introduction):spring-boot-gradle-starter#What is it? Spring boot (http://projects.spring.io/spring-boot) is an interesting projetc, that aims at simplifying Spring project setup. At this point, though (version 0.5.0.M5) the documentation is a bit lacking, so it's not that easy to use. So if you have no experience with XML-less Spring setup, this simple project is an example, to checkout out. It is based on official https://spring.io/guides/gs/spring-boot but extended and configured to include a set of tool, that you are likely to use (Groovy, Spock, Spring Data, etc.). How to run it?If you have gradle installed and under linux/mac:
If gradle is not installed, but still under linux/mac
And for windows without gradle
After the server is running, go to
The backend is done with
There is embedded tomcat and embedded, in-memory hsql inside. There is a standard set of libs, like guava, joda-time and so on. Backend is done with Java 7 and Groovy (you can safely mix both as long as you keep your sources in src/main/groovy folder), without any xml. Tests are written in groovy using Spock framework and one with Spring MVC (had to test if my view resolver is working, and that's only possible with spring Dispatcher/Front Controller). Frontend is using old version of AngularJS, but it's just so you can fire it up and see it works. I used the templating from scotch.io http://scotch.io but changed it out a bit. A nice tutorial is here: http://scotch.io/tutorials/javascript/single-page-apps-with-angularjs-routing-and-templating |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论