https://github.com/stunstunstun/awesome-spring-boot
Code based and real world examples of Spring Boot and shiny things. 😍
https://github.com/stunstunstun/awesome-spring-boot
List: awesome-spring-boot
awesome-spring awesome-spring-boot java spring spring-boot springboot
Last synced: about 2 months ago
JSON representation
Code based and real world examples of Spring Boot and shiny things. 😍
- Host: GitHub
- URL: https://github.com/stunstunstun/awesome-spring-boot
- Owner: stunstunstun
- Created: 2015-07-08T09:35:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-12-10T09:23:52.000Z (over 4 years ago)
- Last Synced: 2024-05-22T16:12:18.569Z (about 2 years ago)
- Topics: awesome-spring, awesome-spring-boot, java, spring, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 9.85 MB
- Stars: 421
- Watchers: 33
- Forks: 94
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
Awesome Spring Boot
[](https://github.com/sindresorhus/awesome)
[](https://travis-ci.org/stunstunstun/awesome-spring-boot)
[]()
[]()
[]()
A curated list of amazingly examples of Spring Boot, resources and shiny things.
## Contents
- [Tutorials](#tutorials)
- [DevOps](#devops)
- [Prerequisite](#prerequisite)
- [Test](#test)
- [Build](#build)
- [Run](#run)
- [Spring Boot Features](#spring-boot-features)
## Tutorials
#### Afterwards Spring Boot works
Project | Build | Description |
---|---|----
[spring-boot-jdbc-example](https://github.com/stunstunstun/awesome-spring-boot/tree/master/spring-boot-jdbc-example) | Gradle | Integrating Spring Boot with JDBC
[spring-boot-jpa-example](https://github.com/stunstunstun/awesome-spring-boot/tree/master/spring-boot-jpa-example) | Gradle | Integrating Spring Boot with JPA
[spring-boot-mybatis-example](https://github.com/stunstunstun/awesome-spring-boot/tree/master/spring-boot-mybatis-example)| Gradle | Integrating Spring Boot with myBatis
[spring-boot-mybatis-multi-example](https://github.com/stunstunstun/awesome-spring-boot/tree/master/spring-boot-mybatis-multi-example) | Gradle | Integrating Spring Boot with multiple datasources
[spring-boot-mvc-example](https://github.com/stunstunstun/awesome-spring-boot/tree/master/spring-boot-mvc-example) | Gradle | Integrating Spring Boot with Spring MVC
#### Download
```
$ git clone https://github.com/stunstunstun/awesome-spring-boot.git
```
## DevOps
#### Prerequisite
Your operating system must have the JDK installed and it's recommended that you install the IDE to look up the source code.
#### Test
Check the test case with the `@Test` annotation.
```
$ gradlew test
```
#### Build
Build the project and create executable jar and war files.
```
$ gradlew assemble
```
It doesn't work? You should check execution permission.
```
$ chmod +x gradlew
```
#### Run
An example with spring-web-starter can be connected by Web Browser
```
$ gradlew :spring-boot-mvc-example:bootRun
```
```
GET http://localhost:8080/users
```
## Spring Boot Features
#### Bootstrap By Spring Boot CLI
`Install Spring Boot CLI`
```
$ brew tap pivotal/tap
$ brew install springboot
$ spring --version
```
`Create Project`
```
$ spring init --build=gradle --java-version=1.8 --dependencies=data-jpa spring-boot-jpa-example
```
## You can do it in yourself!
#### Spring Core
- http://vojtechruzicka.com/field-dependency-injection-considered-harmful/
#### Spring Boot Test
- https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-testing.html
- https://spring.io/blog/2016/04/15/testing-improvements-in-spring-boot-1-4
- https://docs.spring.io/spring/docs/current/spring-framework-reference/html/integration-testing.html
- http://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/test/mock/mockito/MockBean.html
#### Spring Data REST
- https://docs.spring.io/spring-data/rest/docs/current/reference/html/
#### Data Access
- https://spring.io/guides/gs/accessing-data-jpa/
- https://spring.io/guides/gs/accessing-data-mysql/
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html
#### Logging
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-logging.html
- https://www.slideshare.net/whiteship/ss-47273947
#### HTTP Client
- https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-restclient.html
#### Embedded Servlet Containers
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-servlet-containers.html
#### Profiles
- https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-profiles.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-properties-and-configuration.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html
#### Actuator
- https://spring.io/guides/gs/actuator-service/
- https://github.com/spring-projects/spring-boot/tree/master/spring-boot-actuator
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-actuator.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html
#### Hotswapping
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html
- https://spring.io/blog/2015/06/17/devtools-in-spring-boot-1-3
#### Deploy To AWS, Cloud Foundry
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/cloud-deployment.html
#### Spring Boot Book
- https://www.manning.com/books/spring-boot-in-practice