Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jveverka/spring-examples
Java 17 and Spring-Boot examples and demo projects.
https://github.com/jveverka/spring-examples
arm64 docker java java-11 java-17 reactive-programming spring spring-boot spring-data spring-security springframework testcontainers testcontainers-junit-jupiter webflux x86-64
Last synced: about 1 month ago
JSON representation
Java 17 and Spring-Boot examples and demo projects.
- Host: GitHub
- URL: https://github.com/jveverka/spring-examples
- Owner: jveverka
- License: apache-2.0
- Created: 2020-05-29T17:31:04.000Z (over 4 years ago)
- Default Branch: java-17
- Last Pushed: 2023-01-08T17:08:39.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T13:02:32.581Z (about 1 month ago)
- Topics: arm64, docker, java, java-11, java-17, reactive-programming, spring, spring-boot, spring-data, spring-security, springframework, testcontainers, testcontainers-junit-jupiter, webflux, x86-64
- Language: Java
- Homepage:
- Size: 1.31 MB
- Stars: 111
- Watchers: 4
- Forks: 54
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Java17](https://img.shields.io/badge/java-17-blue)](https://img.shields.io/badge/java-17-blue)
[![Gradle](https://img.shields.io/badge/gradle-v7.3-blue)](https://img.shields.io/badge/gradle-v7.3-blue)
![Build and Test](https://github.com/jveverka/spring-examples/workflows/Build%20and%20Test/badge.svg)# Spring-Boot examples
This project contains various simple or not-so simple [Spring Boot](https://spring.io/projects/spring-boot) examples.### Environment setup
Minimal requirements: Please make sure following software is installed on your PC.
* [OpenJDK 17](https://adoptium.net/releases.html?variant=openjdk17&jvmVariant=hotspot)
* [Gradle 7.5](https://gradle.org/install/) or laterPlease check [full system requirements](docs/system-requirements.md) for more details.
### Compile and Run
```
gradle clean build test
gradle --build-file spring-api-first/build.gradle clean openApiGenerate build test
```### Examples
* [__spring native__](spring-native) - Spring native & AOT demo.
* [__spring data__](spring-data) - JPA / Hibernate / spring data and Flyway demo.
* [__spring websocket__](spring-websockets) - simple websocket demo.
* [__spring demo__](spring-demo) - basic springboot application, actuator, buildinfo, swagger.
* [__spring proxy__](spring-proxy) - simple springboot http proxy demo.
* [__spring API first__](spring-api-first) - OpenAPI 3.0 API first application design.
* [__spring webflux__](spring-webflux) - Spring Webflux example.
* [__spring dependency injection__](spring-di) - simple dependency injection demo.
* [__spring jcasbin__](spring-jcasbin) - simple integration example of jcasbin in spring app.
* [__spring security__](spring-security) - cookie session tracking and web security.
* [__spring security-jwt__](spring-security-jwt) - JWT based web security.
* [__spring fileserver__](spring-fileserver) - simple file server ove REST APIs
* [__spring_mockwebserver__](spring-mockwebserver) - simple http proxy service calling another service.
* [__spring bank__](spring-bank) - simple transactional web application.
* [__spring_mongo__](spring-mongo) - simple springboot + mongodb with testcontainers example.### Topics
* [__Spring Native__](https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/) - [Spring native case study.](spring-native)
* [__Reactive Spring__](https://docs.spring.io/spring-framework/docs/current/reference/html/web-reactive.html) - [Reactive Spring case study.](spring-webflux)
* [__JUnit5__](https://github.com/junit-team/junit5/) - [all projects]()
* __Security__ - [__spring security__](spring-security), [__spring jcasbin__](spring-jcasbin), [__spring security-jwt__](spring-security-jwt), [__spring-webflux__](spring-webflux)
* __Web/Http__ - [__spring proxy__](spring-proxy), [__spring fileserver__](spring-fileserver), [__spring websocket__](spring-websockets), [__spring API first__](spring-api-first), [__spring-webflux__](spring-webflux)
* [__Spring Data__](https://spring.io/projects/spring-data) - [__spring data__](spring-data), [__spring bank__](spring-bank)
* __Integrations__ - [__spring proxy__](spring-proxy), [__spring API first__](spring-api-first)_Enjoy !_