Skip to content

armysheng/angularjs-springmvc-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angularjs-springmvc-sample

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

Build Status

##Contribution

I appreciate any contribution for this project, including suggestions, documentation improvements, reporting issues, forks and bugfixs, etc. I have found there are some unrelated issues added, before you file an issue, please READ THE STEPS IN THIS README.md carefully.

在你提交 ISSUE 前,请务必确认已经严格完成了本文中描述的操作步骤

Thanks.

##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
</pre>
  1. And enter the root folder, run mvn tomcat7:run to start up an embedded tomcat7 to serve this application.
<pre>
mvn tomcat7:run
</pre>
  1. Go to http://localhost:8080/angularjs-springmvc-sample/ 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:8080/angularjs-springmvc-sample/swagger-ui.html.

Spring Boot

If you are interested in Spring Boot, I have moved the boot branch into a new project angularjs-springmvc-sample-boot.

About

A RESTful sample using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 71.3%
  • JavaScript 15.9%
  • HTML 12.5%
  • CSS 0.3%