https://github.com/ok1996/ok-system-simple
基于Spring Boot提供常用的自动装配模块,开箱即用,快速提供各模块所需的服务
https://github.com/ok1996/ok-system-simple
java java17 spring-cloud springboot
Last synced: 5 months ago
JSON representation
基于Spring Boot提供常用的自动装配模块,开箱即用,快速提供各模块所需的服务
- Host: GitHub
- URL: https://github.com/ok1996/ok-system-simple
- Owner: ok1996
- License: apache-2.0
- Created: 2022-12-08T02:20:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T06:42:51.000Z (11 months ago)
- Last Synced: 2025-07-28T23:47:20.524Z (5 months ago)
- Topics: java, java17, spring-cloud, springboot
- Language: Java
- Homepage: https://iosd.cn
- Size: 1.95 MB
- Stars: 30
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## What is this project about?
This project offers foundational Starter Modules for Spring Boot, enabling the quick setup of services needed by various modules
## How to get started?
Find the corresponding starter module for your needs and import the dependencies.
For example, to quickly integrate a service with a web application and integrated API documentation, import the following dependencies:
~~~
cn.iosd
simple-starter-web
~~~
## Core Dependencies
| Dependency | Version |
|----------------------|---------------------|
| Java | 17 |
| Spring Boot | 3.3.6 |
| Spring Cloud | 2023.0.3 |
| Spring Cloud Alibaba | 2023.0.3.2 |
| Ok System Simple | 2025.1.0.0-SNAPSHOT |
## Starter Modules
| Module Name | Use Cases | Description |
|---------------------------|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| simple-starter-web | Web Application | SpringBoot Web, integrated API documentation, serialization format conversion, response body, global exception handler |
| simple-starter-redisson | Locks and Caching | Annotation usage: distributed locks, distributed idempotency, distributed rate limiter; Cacheable annotation common configurations and custom CacheName expiration time |
| simple-starter-s3 | File Management Client | Initialize client, provide basic service methods |
| simple-starter-socketio | Long Polling Communication and Cluster | Cluster uses redis subscribe and broadcast mechanism, automatic standalone if no redis |
| simple-starter-grpc | Remote Invocation Protocol Interface | Custom Grpc annotation simplifies usage: client, server |
| simple-starter-datasource | Database Connection Application | HikariCP, P6spy, auto-create database tables, generic CURD controller, GeometryTypeHandler |
| simple-starter-freemarker | Template Engine Application | Simplify importing configuration parameters |
| simple-starter-cloud | Microservices Application | Integration of common dependencies for microservices: service discovery, remote configuration center, etc. |
| simple-starter-gateway | Microservices Gateway | Microservices API gateway: integrates microservices documentation gateway |
| simple-starter-encrypt | Encryption | Annotations: encryption and desensitization (common templates or custom rules); Annotations: RSA encryption and decryption for request or response parameters |
| simple-starter-dict | Dictionary | Annotation Dictionary Translation (Open Custom Implementation for Dictionary Service Class); (Supports Single Fields, Lists, and Nested Entities) |
| simple-starter-email | Email | SMTP email delivery |
| simple-starter-package | Build and Package | Custom Maven build and package logic, consolidates common scripts and executable files |
## Base Modules
| Module Name | Use Cases | Description |
|-----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------|
| simple-base-config | Basic Configuration | Automatically initialize configuration on startup, optionally generate overrides, expose interfaces |
| simple-base-generator | Code Generation | Generate basic project code based on database tables |
| simple-base-s3 | File Storage Management Service | Provide file management service and interface |
| simple-base-dict | Dictionary Management Service | Dictionary management service and interface |
## Utils Modules
| Module Name | Use Cases | Description |
|----------------------|------------------|---------------------------------------------------------------------|
| simple-utils-jackson | Json Utilities | Provides utility classes for Json serialization and deserialization |
| simple-utils-common | Common Utilities | Provides commonly used and general utility classes |
## Basic Modules
| Module Name | Use Cases | Description |
|---------------------|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| simple-parent | Project Parent Management | Used to manage common configurations and dependency versions for the project. Unified management of project build configuration, dependency versions, and plugin versions |
| simple-dependencies | Project Dependency Management | Used to centrally manage dependency versions for all modules in the project. Defines the required dependency versions for each module and manages them uniformly through the dependencyManagement tag |
## Thanks
Thanks to JetBrains for providing support through [OpenSourceSupport](https://jb.gg/OpenSourceSupport) .