Skip to content

Preconfigured Java modules and Application sets for Spring framework.

License

Notifications You must be signed in to change notification settings

TrulyNotMalware/Spring-Stack

Repository files navigation

Spring modules

Preconfigured modules and services for Java web applications based on Spring boot 3

The primary objective of this project is to provide a simplified approach for creating Java web backend applications using the Spring framework.
To achieve this, it plans to include essential and well-known features like user authentication (Login) and messaging solutions, which are frequently required in web application development.

Test environments

It's just a test environment, so you don't have to install all of these services. There is no need to use Kubernetes. You can only use the module.

Infra & basic services

Services version installation explain last modified
Kubernetes 1.26.2 Managed Kubernetes Oracle Cloud kubernetes 2023.09.07
Harbor 2.8.0 Docker-compose Docker image repository 2023.09.07
Zipkin 2.24.1 Helm chart Metric tracing 2023.09.07

Databases

Services version installation explain last modified
Oracle 19c Oracle cloud SQL Database 2023.09.07
ElasticSearch 7.17.3 Helm chart Zipkin storage 2023.09.07
MySQL 8.0.33 Helm chart SQL Database 2023.09.07

List

An 'Application' refers to a combination of modules and examples that are inherently runnable, whereas simply using the term 'Modules' implies that there is no separate execution context.
If you want to execute the module, it requires additional configurations to run. The basic use case for each module is documented in the README file located within each module directory.

Spring MVC

Basic

  1. Common : Mvc & Reactor Common Jwt and Util module.
  2. Core : Database JPA Configurations & Utils module.
  3. Kafka : Apache Kafka Producer & Consumer example & configuration module.
  4. Event : Axon framework based event-sourcing participants package.

Security

  1. Security : Jwt authentication configuration & implements module.
  2. Auth : OAuth Client & Authentication application.
  3. OAuth : OAuth authorization server application with JPA
  4. Resource Server : OAuth Resource Server application.

Service Application

  1. Assistant : Development helper service. Implement services collaboration such as slack bots, scheduling and build pipeline.

Spring Webflux

Basic

  1. Reactor Core : Tracing(Zipkin & Micrometer) context configuration & Utils module
  2. Reactor kafka : Reactive Kafka Consumer & Producer configuration module

Security

  1. Reactor Security : Reactor based Jwt authentication configuration & implements module.

Gateway

  1. Gateway : Spring cloud gateway application include jwt validation

For More Information

For more information, see README for each module.


Spring modules

Java - Spring boot 3 웹 백엔드 어플리케이션을 위한 모듈 및 서비스 구현

이 프로젝트의 주요 목적은 Spring 프레임워크를 사용하여 Java 웹 백엔드 애플리케이션을 생성하는 쉬운 방식을 제공하는 것입니다.
이를 위해 웹 애플리케이션 개발에서 자주 요구되는 사용자 인증(Login), 메시징 솔루션 등 잘 알려진 기능을 포함할 계획입니다.

테스트 환경

이 환경은 단지 테스트 환경이기 때문에, 동일하게 구성하지 않아도 됩니다. Kubernetes 를 사용할 필요도 없으며, 각 서비스만 독립적으로 사용할 수 있습니다.

인프라 & 서비스

Services version installation explain last modified
Kubernetes 1.26.2 Managed Kubernetes Oracle Cloud kubernetes 2023.09.07
Harbor 2.8.0 Docker-compose Docker image repository 2023.09.07
Zipkin 2.24.1 Helm chart Metric tracing 2023.09.07

데이터베이스

Services version installation explain last modified
Oracle 19c Oracle cloud SQL Database 2023.09.07
ElasticSearch 7.17.3 Helm chart Zipkin storage 2023.09.07
MySQL 8.0.33 Helm chart SQL Database 2023.09.07

목록

'어플리케이션'은 실행 가능한 예제와 모듈을 모두 포함하고 있지만, 단순히 '모듈'이라는 용어를 사용하는 것은 별도의 실행 컨텍스트가 없다는 것을 의미합니다.
따라서 모듈을 실행시키고 싶다면 추가적인 구성이 필요합니다. 각 모듈의 기본 사용 사례는 각 모듈 디렉토리 내에 있는 README 파일에 기록되어 있습니다.

Spring MVC

Basic

  1. Common : Mvc & Reactor 공통 Jwt와 Util 모듈.
  2. Core : JPA 설정 & 유틸리티 모듈.
  3. Kafka : 아파치 카프카 Producer & Consumer example 와 설정 모듈.
  4. Event : Axon 프레임워크 기반 이벤트 소싱 참여자 설정 모듈.

Security

  1. Security : Jwt 인증을 위한 설정과 그 구현체를 만든 모듈
  2. Auth : OAuth 클라이언트와 인증서비스를 포함하는 어플리케이션.
  3. OAuth : JPA를 사용한 OAuth 인가 서버 어플리케이션
  4. Resource Server : OAuth 리소스 서버 어플리케이션.

Service Application

  1. Assistant : 개발 도우미 서비스입니다. 슬랙 봇, 스케쥴링 및 빌드툴 등 협업에 관한 서비스를 구현합니다.

Spring Webflux

Basic

  1. Reactor Core : 트레이싱(Zipkin & Micrometer) 설정과 유틸리티 모듈.
  2. Reactor kafka : 아파치 카프카 Consumer & Producer 설정 모듈.

Security

  1. Reactor Security : 리액터 기반의 Jwt 인증 & 설정 모듈.

Gateway

  1. Gateway : Jwt 검증 로직을 포함한 Spring cloud gateway 어플리케이션.

For More Information

더 자세한 정보는 각 모듈 디렉터리의 README 를 참고해주세요.

About

Preconfigured Java modules and Application sets for Spring framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages