compumike08 / angularjs-springmvc-sample-boot

Personal test repo for experimenting with hantsy/angularjs-springmvc-sample-boot project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angularjs-springmvc-sample-boot

An example application using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer.

This is a Spring Boot version of the original application. If you are not ready for Spring Boot at the moment, please go to angularjs-springmvc-sample to get the original version.

In fact, this is an improved version which includes more features.

  • Database based security config instead of the InMemory solution.
  • Spring Data auditing is enabled.
  • The new Java 8 DateTime(JSR310) is supported.
  • Administration UI is included in this version which had been removed in the original version.

##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.

Run this project

  1. Clone the codes.
<pre>
git clone https://github.com/hantsy/angularjs-springmvc-sample-boot
</pre>
  1. Instead of running this project via mvn tomcat7:run command, using mvn spring-boot:run here.
<pre>
mvn spring-boot:run
</pre>
  1. Go to http://localhost:9000 to test it. If you want to explore the REST API docs online, there is a Swagger UI configured for visualizing the REST APIs, just go to http://localhost:9000/swagger-ui.html.

About

Personal test repo for experimenting with hantsy/angularjs-springmvc-sample-boot project


Languages

Language:Java 63.4%Language:HTML 18.8%Language:JavaScript 17.7%Language:CSS 0.1%