An example application using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer.
##Requirements
-
JDK 8
Oracle Java 8 is required, go to Oracle Java website to download it and install into your system.
Optionally, you can set JAVA_HOME environment variable and add <JDK installation dir>/bin in your PATH environment variable.
-
Apache Maven
Download the latest Apache Maven from http://maven.apache.org, and uncompress it into your local system.
Optionally, you can set M2_HOME environment varible, and also do not forget to append <Maven Installation dir>/bin your PATH environment variable.
- Clone the codes.
<pre>
git clone https://github.com/hantsy/angularjs-springmvc-sample
</pre>
- And enter the root folder, run
mvn tomcat7:run
to start up an embedded tomcat7 to serve this application.
<pre>
mvn tomcat7:run
</pre>
- Go to http://localhost:8080/angularjs-springmvc-sample/ to test it.
The detailed steps will be added in the wiki pages of this project soon.