This is a Yeoman generator, used to create a Yeoman + Maven + Spring + AngularJS project.
Our goal is to generate a complete and modern Web app, unifying:
- Maven on the server side
- Yeoman + Bower + Grunt on the client side
You can checkout a sample generated application here.
A complete Spring application:
- "development" and "production" profiles
- Spring Security
- Spring MVC REST + Jackson
- Spring Data JPA + Bean Validation
- Database updates with Liquibase
Ready to go into production :
- Monitoring with Metrics
- Caching with ehcache
- Optimized static resources (gzip filter, HTTP cache headers)
- Log management with Logback, configurable at runtime
- Builds a standard WAR file
Single Web page application :
- Responsive Web Design
- HTML5 Boilerplate
- Twitter Bootstrap
- Compass / Sass for CSS design
- AngularJS
Easy installation of new libraries with Bower. Build, optimization and live reload with Grunt.
Install Node.js from the Node.js website.
Install Yeoman:
npm install -g yo
Install JHipster:
npm install -g generator-jhipster
To find more information, tips and help, please have a look at the Yeoman "getting starting" guide before submitting a bug.
To generate your application, type:
yo jhipster
Once the application is generated, you can launch the Java server with Maven:
mvn jetty:run
The application will be available on http://localhost:8080
You can also run Grunt to work on the client-side JavaScript application:
grunt server
This should open up your Web browser, with live reload enabled, on http://localhost:9000. This Grunt server has a proxy to the REST endpoints on the Java server which we just launched (on http://localhost:8080/rest), so it should be able to do live REST requests to the Java back-end.
If you want to go further, and use hot reloading both on the client and the server side, please go to this Wiki page.
Copyright (C) 2013 Julien Dubois