Based on
Spring Boot
dedicated to simplify development, improve efficiency. Hope to become the best partner forSpring Boot
.
📖Introduction 中文 language
Shoulder Framework
is a plug-in for Spring Boot
and provides some useful functions to speed up development! Some examples of functions:
AOP logging/exception handling
One config switch to cluster mode
Log tracking and collecting
Multi-language / I18n
Fully automatic dynamic dictionary
Global ID Generator
Unified message format
Operation Audit
Multiple verification codes
Asynchronous upload and download
Top Secret Communications
Embedded DB / Redis
- More Secure
- Easy to expand
- High readability of user code
- Low maintenance cost
- Low start-up cost
- With specification:Software Elegance Design and development best practices
- Not only improve development efficiency, but also lower maintenance costs!
Through the simple in 👉 Demo 👈
(github/ gitee),
feel the elegant coding experience brought by Shoulder
.
Just add the module you want to use, for instance, if you want to use shoulder-web's dynamic dictionary ability
, simply include the
corresponding starter:
<dependency>
<groupId>cn.itlym</groupId>
<artifactId>shoulder-starter-web</artifactId>
<version>0.8.1</version><!-- shoulder-version -->
</dependency>
Shoulder
provides a maven archetype to quickly
create projects. Just ensure you have JDK17+
and Maven
installed locally.
- Open terminal.
- Run the following command to generate a new Shoulder project:
mvn archetype:generate \
-DarchetypeGroupId=cn.itlym \
-DarchetypeArtifactId=shoulder-archetype-simple \
-DarchetypeVersion=0.8.1 \
-DgroupId=com.yourcompany \
-DartifactId=yourappName \
-Dversion=1.0-SNAPSHOT
Just use the following pom.xml
directly, the only difference from a Spring Boot project is the difference <parent>
of `pom.xml.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- for global version control. include spring-boot-parent -->
<parent>
<groupId>cn.itlym</groupId>
<artifactId>shoulder-parent</artifactId>
<version>0.8.1</version><!-- shoulder-version -->
</parent>
<groupId>com.demo</groupId><!-- your groupId -->
<artifactId>hello-shoulder</artifactId><!-- your artifactId -->
<version>1.0.0-SNAPSHOT</version><!-- your version -->
<dependencies>
<!-- add module with version tag like using spring-boot-starter -->
<dependency>
<groupId>cn.itlym</groupId>
<artifactId>shoulder-starter-web</artifactId>
</dependency>
</dependencies>
</project>
See FAQ Document
More: Ability.md、Roadmap
Graduation Project
,Outsourcing Project
: Rapid development based on provided capabilities.Microservice base framework
:Shoulder
follows coding standards when designing, and has unified coding interfaces and products, making it easy for development/operation and maintenance teams to maintain.Internal framework development
:Shoulder
is designed to fully absorb the ideas ofSpring Boot
and focus on scalability, which allows some companies/organizations who want to build internal frameworks to quickly develop internal frameworks.
Shoulder
aims to be a complete re-usable platform (PaaS), where users only need to focus on their business logic. Here is the overall
outlook:
Shoulder iPaaS
iPaaS Basic middleware environment: Shoulder offers dependency middleware Docker images or deployment guides (e.g., databases, message queues, service registration centers, task scheduling centers, search engines, alarm and monitoring systems, etc.).Shoulder Specific
manuel of development, see * the best practices of elegant software design and development*- Shoulder Framework This project, aims to encapsulation of common capabilities, reducing code redundancy and lowering system development and maintenance costs.
Shoulder Platform
General business platform, provides user platform, payment platform, notification center, business gateway, data dictionary, global ID generator, and other basic, common business capabilities.Shoulder Platform SDK
Provides SDKs to facilitate business layer integration.
Project Name | Open Source URLs | Description |
---|---|---|
Shoulder Framework | github、gitee | a Java WEB framework based on Spring Boot while provides a set of common capabilities. |
Shoulder Platform | github、gitee | SaaS platform , provides user, payment, notification gateway and other common services... |
shoulder-framework-demo | github、gitee | Shoulder Framework Demos |
shoulder-plugins | github、gitee | a maven plugin for shoulder-framework aiming reduce code. |
shoulder-lombok | github、gitee | a library based on lombok ,provide an annotation @SLog to simplify code. |
shoulder-lombok-idea-plugin | github、gitee | a IDEA plugin based on lombok-idea-plugin , to support @SLog in IDEA . |
Shoulder iPaaS | github、gitee | iPaaS platform ,introduces how to deploy common middlewares, monitoring systems, basic platforms. |
See more in CHANGELOG.adoc.
It is appreciated that you can contribute to this project, such as issues, code formatting, comments, bugfix, new features, etc.
See more in How to contribute
Thanks for your 🌟Star 、 🍴Fork 、 🏁PR.
Please feel free to contact with use in issues
or email to [email protected] . For example: your ideas,
expectations~
Shoulder
does not seek to be the most widely used, but is committed to becoming the development framework with the best user experience.
Any of your usage needs, suggestions, and ideas can be left to communicate with us, Shoulder
Let's help developers around the world use technology better and more securely to help their business take off together!
Wish you overcome any difficulties in your business.
Participated in Alibaba core system reconstruction and design many times, and guarantees D11 level promotion. Technical exchanges and resume submissions are welcome~
- This project is a personal project independently developed and maintained by the author in his spare time and is not an official Alibaba product.