All Projects → hantsy → Angularjs Springmvc Sample Boot

hantsy / Angularjs Springmvc Sample Boot

Licence: apache-2.0
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.

Programming Languages

68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Angularjs Springmvc Sample Boot

Spring Petclinic Rest
REST version of the Spring Petclinic sample application
Stars: ✭ 257 (-16.83%)
Mutual labels:  rest, swagger, hibernate, spring-data-jpa, spring-data, spring, spring-mvc
Curso Sistemas Web Com Spring Javascript Bootstrap
Stars: ✭ 74 (-76.05%)
Mutual labels:  hibernate, jpa, spring-boot, spring, spring-mvc, bootstrap
Angularjs Springmvc Sample
A RESTful sample using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer
Stars: ✭ 292 (-5.5%)
Mutual labels:  hibernate, spring-data-jpa, spring-boot, spring-mvc, bootstrap, angularjs
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+173.46%)
Mutual labels:  swagger, lombok, hibernate, spring-boot, spring, spring-mvc
基于Spring Boot实现的一个简易的Java社区
Stars: ✭ 755 (+144.34%)
Mutual labels:  swagger, hibernate, spring-boot, spring, spring-mvc, bootstrap
Spring Mvc Thymeleaf Crud
Spring MVC CRUD Application with Thymeleaf, HTML5, CSS3 and Bootstrap
Stars: ✭ 14 (-95.47%)
Mutual labels:  spring-data-jpa, spring-data, spring-boot, spring, spring-mvc, bootstrap
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-55.34%)
Mutual labels:  rest, swagger, spring-boot, spring, spring-mvc
Eshop Soa
Stars: ✭ 65 (-78.96%)
Mutual labels:  swagger, lombok, spring-boot, spring, spring-mvc
Spring Boot Mysql Rest Api Tutorial
Building a Restful CRUD API using Spring Boot, Mysql, JPA and Hibernate
Stars: ✭ 279 (-9.71%)
Mutual labels:  hibernate, jpa, spring-data-jpa, spring, spring-mvc
Todo List App
Spring Boot 1.3.2, Spring Data Hibernate H2, REST, Angular 1.5.3, Bootstrap, Maven.
Stars: ✭ 6 (-98.06%)
Mutual labels:  hibernate, jpa, spring-boot, bootstrap, angularjs
Spring Boot 2.x examples
Stars: ✭ 33 (-89.32%)
Mutual labels:  spring-data, jpa, hibernate, spring-mvc, spring-data-jpa
Java course materials
Stars: ✭ 293 (-5.18%)
Mutual labels:  hibernate, jpa, spring-data, spring-boot, spring
Favorites Web
云收藏 Spring Boot 2.X 开源项目
Stars: ✭ 4,485 (+1351.46%)
Mutual labels:  jpa, spring-data-jpa, spring-boot, spring, bootstrap
Spring Boot Postgresql Jpa Hibernate Rest Api Demo
Building RESTful APIs with Spring Boot, PostgreSQL, JPA and Hibernate
Stars: ✭ 209 (-32.36%)
Mutual labels:  rest, hibernate, jpa, spring-boot, spring
Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (-18.77%)
Mutual labels:  hibernate, jpa, spring-data-jpa, spring, spring-mvc
Vogon - A simple personal finance tracker using Spring Boot and AngularJS
Stars: ✭ 16 (-94.82%)
Mutual labels:  angularjs, jpa, hibernate, spring-mvc, spring-data-jpa
A java web project based on Spring Boot using MySQL, Spring MVC, Hibernate, Spring Data JPA, Query DSL, Lombok, Logback, etc.
Stars: ✭ 90 (-70.87%)
Mutual labels:  spring-data, lombok, hibernate, spring-mvc, spring-data-jpa
Spring Boot Sample App
Sample app generated from my spring boot archtype on :
Stars: ✭ 81 (-73.79%)
Mutual labels:  swagger, lombok, jpa, spring-boot
Java Interview
At the beginning, it was the repository with questions from Java interviews. Currently, it's more like knowledge base with useful links.
Stars: ✭ 114 (-63.11%)
Mutual labels:  rest, hibernate, spring-boot, spring
Source code for the tutorials published on the Javadevjournal site.
Stars: ✭ 141 (-54.37%)
Mutual labels:  rest, spring-data-jpa, spring-boot, spring-mvc


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

More details about the source codes, please read the online GitBook: Building REST APIs with Spring MVC.

NOTE: This project is under maintenance, no more new features added in future. If you are looking for the new Spring Boot 2 and Angular 5, check angular-spring-reactive-sample.

Technology stack:

  • Spring Boot
  • Spring MVC
  • Spring Data JPA
  • JPA
  • Hibernate 5.2
  • Spring Security
  • Swagger/Swagger2Markup/Spring Rest Docs
  • Spring Test/JUnit/Mockito/JBehave/RestAssured
  • Lombok
  • ModelMapper
  • AngularJS
  • Bootstrap

This version improved the original version(without Spring Boot), including:

  • Introduction of Gulp build system to processing the static resources
  • The frontend UI can be run standalone via NodeJS eco-system
  • An option provided and allow you to package the static resources as part of final jar and run the application via mvn spring-boot:run directly


  • 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, 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.

  • NodeJS

    NodeJS is required to build the frontend static resources.

    Download NodeJS and install it into your local system.

    After it is installed, open terminal, and using node -v command to confirm.

    node -v 

    bower is also requried to install the runtime dependencies, and gulp is chosen as our build tools for the statics resources.

    npm install -g bower
    npm install -g gulp

Get the source codes

Get a copy of the source codes into your local system.

git clone

Run the project

You can use one of the following approaches to run this project.

Run frontend UI and backend respectively

  1. Run the backend API server via Spring Boot.

    mvn spring-boot:run

    The backend APIs will run on port 9000.

  2. Run the frontend UI standalone.

    npm install
    bower install
    gulp serve

    By default, gulp serves the frontend UI static resources on port 3000.

  3. Go to http://localhost:3000 to test it.

Run the project via Spring Boot maven plugin

  1. Run the following command to resovle the dependencies of the frontend static resources.

    npm install
    bower install
  2. Run the backend API server with spring-boot command. The parameter -Dstatic-ui will copy the static resources and package into the jar archive.

    mvn spring-boot:run -Dstatic-ui
  3. 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.

Generate static REST API reference documentation

I have moved the REST docs generation configuration into a standalone Maven profile.

Execute the following command to generate HTML and PDF format files for your REST APIs from Swagger API description file and Spring test code snippets(as code samples).

mvn clean package -Drestdocs

The detailed configuration is explained in API documention section.

When it is done, check the generated static docs in target/asciidoc folder, it includes a HTML 5 file(under html folder), and a PDF file(in pdf folder).

Open the pdf document in Adobe Reader, it looks like.



You can run the project in multistage Docker building development environment, check Multistage Builds.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].