Guillermo Rodas
Google Developer Expert in Web Technologies, Community Organizer, and Online Teacher.
@garethderioth
Medellín, May 28, 2015
"JHipster is Yeoman generator,
used to create a
Spring Boot + AngularJS project"
Sprint Boot
AngularJS
maven
Grunt
Bower
Karma
Bootstrap
SPRING MVC REST
Liquidbase
JPA
Spring Data JPA
MongoDB
Cassandra
Ehcache
Spring Security
Thymeleak
Metrics
A clean front-end with the latest HTML5, CSS3, JavaScript frameworks.
A robust and high-quality back-end, with the latest Java, Caching, Data access technologies.
Automating repetitive tasks to save time.
Security and performance in mind.
Scaffold out a new application, writing your build configuration with Yo.
Run tasks for build, preview and test with Grunt.
Manage dependencies for the web with Bower.
npm install -g yo
npm install -g generator-jhipster
yo jhipster
yo jhipster:entity foo
yo jhipster:service bar
yo jhipster:languages
For development, it will allow you to have "live editing" of your code, run your tests in the background.
For production, it will compress and optimize all your resources, compile your SASS code.
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
build: {
src: "main.js",
dest: "build/main.min.js"
}
},
jshint: {
all: ["**/*.js"]
}
});
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.registerTasks("deafult", ["jshint", "uglify"]);
};
// JHipster
grunt serve
grunt test
Gulp
Bower
You can search, install and update your JavaScript libraries.
It provides a huge number of libraries.
bower search angular
bower install angular --save
bower list
Karma runs unit tests on your JavaScript code.
By Guillermo Rodas
A intro about how to build modern web apps with JHipster
Google Developer Expert in Web Technologies, Community Organizer, and Online Teacher.