jzfai / micro-service-plus

👏A new generation micro-service of springcloud , It's easy and fast!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micro-service-plus

micro-service-plus provides enterprise-level development demo

foreword

this architecture is the springCloud microservice architecture, which provides basic jwt authorization authentication, token update, and calls between microservices, as well as enterprise-level usage examples.

spring-boot:2.4.13
spring-cloud:2020.0.5
mybatis-plus: 3.3.2
mysql:5.7
knife4j:2.0.9

some of the above versions will be upgraded in the future

Introduction to Microservices

gateway:

gateway Microservices. The spring-cloud-starter-gateway is used, which has better performance than the zull gateway. It mainly implements permission control and interception, jwt token parsing and verification, swagger file integration, and request current limiting using token technology. Can start multiple

auth-pom:

permission service. jwt token generation, parsing, verification, etc., the default configuration is valid for 3 days, and the contract is automatically renewed if it is less than one day (if you are interested here, you can view the source code)

basic-func:

provide some examples. Including, rabbitmq delay queue, goFastDFS file upload, canal, seata partial transaction, SMS sending, mail sending, etc.

integration-front:

data Integration. vue3-admin-plus data source easycode-temp:easycode front-end and back-end templates

How to run

Run micro-service-plus, the default selection is the test branch

git clone  https://github.com/jzfai/micro-service-plus.git
//maven download the depdences

How to cooperate with vue3-admin-plus to develop front-end and back-end together

#vue3-admin-plus
git clone  https://github.com/jzfai/vue3-admin-plus.git
pnpm i
#test Branch requests local gateway
pnpm run test

#micro-service-plus At least need to run
basic-func
gateway
integration-front

The above three service

Note: Select the environment in Maven Projects->Profies. Currently online is a package built in the prod environment, please do not select.

About

👏A new generation micro-service of springcloud , It's easy and fast!


Languages

Language:Java 94.6%Language:Vue 4.6%Language:JavaScript 0.8%