Skip to content

Latest commit

 

History

History
94 lines (56 loc) · 1.7 KB

File metadata and controls

94 lines (56 loc) · 1.7 KB

##Maven archetype-webapps-module-angularjs-webdev

webapps module archetype maven for creating web application with Hibernate 4.x, Spring 3.x, Jersey 1.x, DBUnit, Yeoman, AngularJS 1.2.x

###Required

  • Maven installed

###Features

  • DAO Generic implemented;

  • Service Generic implemented;

  • Structure for DBUnit done;

  • back/front end separated in modules: webapps-core, webapps-web and webapps-webdev

  • flyway plugin setup for db migration;

  • webapps-core: module for back-end development;

  • webapps-web: module for deploy and front-end Java development;

Starting app in webdev

  1. via command line go to root of project ;
  2. type
mvn  clean install 
  1. Now start the application
mvn  tomcat:run 
  1. App starts in http://localhost:8080/yourapp
  • webapps-webdev: module for front-end development (AngularJS, css, html etc);

Starting app in webdev

  1. via command line go to webapps-webdev/src/main/app ;
  2. type
grunt server 
  1. App starts in http://127.0.0.1:9000

Like this front-end code can be tested and debugged.

Deploying App

  1. via command line go to webapps-webdev/src/main/app ;
  2. type
grunt build --force 

###How to Install local?

Step 1

git clone git@github.com:ITSStartup/archetype-webapps-module-angularjs-webdev.git

Step 2

  • Go to the folder and execute:
mvn clean install 

Step 3

  • create new maven project via Eclipse ;
  • in Catalog choose My catalogs;
  • in filter type: br.

Now its is expected you see in group id: br.com.its.archetype

  • choose the archetype and go ahead clicking in next

Step 4

Import webapps-webdev via Maven in your IDE**