A Spring Web Application using Hibernate, Thymeleaf and Twitter Bootstrap built to use as a template for new projects
A Spring Web Application using Hibernate, Thymeleaf and Twitter Bootstrap built to use as a template for new projects. This project is still under heavy development but the master branch should be runnable. Be aware that some old legacy code is still included.
Peaple who found this project may want to take a look at the JHipster project. There are a lot of similarities to this project and it is more mature.
Since this project uses Lombok to generate getters and setters + more you have to install it if you will open the project in Eclipse. Otherwise Eclipse will give you some syntax errors. If you use Netbeans as your IDE you can skip this installation since it is already included by default. IntelliJ users are refered to use the Lombok IntelliJ Plugin.
Installing Lombok for Eclipse is done by executing lombok.jar (doubleclick it, or run java -jar lombok.jar). Then press Install / Update and start Eclipse as usual. lombok.jar can be downloaded from here.
Run it in Jetty
... or if you prefer Tomcat
and open url http://localhost:8080/application-name in your browser
Log in with username root, developer, admin or user. No password required. By default the "localhost" spring profile and application properties will be used. Enjoy!
To load a spring profile with specific application properties simply provide the environment name as a compiler argument e.g.
mvn jetty:run -Dapplication.environment=test
just make sure you have started mysql server before you start jetty if you load other environments than "localhost". No need to create a database schema or tables. Hibernate will do that for you!
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
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.