SpringBoot integrates Swagger3 to generate interface documents

1, About Swagger Swagger, the main API Builder based on openspecification, became an open source API. Swagger provides a set of methods to automatically generate documents through code and annotations, which will be very helpful to ensure the timeliness of API documents. Swagger2: maintenance stopped in 17 years Swagger3 (Open Api3): relea ...

Added by fr0mat on Sat, 19 Feb 2022 07:40:33 +0200

[SpringBoot] use the function of token SMS verification code Redis to realize basic login and registration operations (including how to configure Redis token verification code)

On the idea of login registration business and the realization of some codes Recently, I started the development of mobile terminal project. As I am in the background, I certainly can't avoid realizing the functions that every app should have: login and registration. At the beginning, I felt very confused. So I write a blog here to share with ...

Added by lisaNewbie on Fri, 18 Feb 2022 23:36:14 +0200

Simple construction of springboot

advantage The configuration becomes simple. In most cases, you can use the default configuration; For example, maven dependency, using starter to simplify maven configurationThe construction of the project is simple, with a built-in framework for integrating the third party and no configuration integration;The deployment of the project is ...

Added by Chrysanthus on Fri, 18 Feb 2022 12:36:38 +0200

Docker deploys the SpringBoot project and connects MySQL and Redis

Server domain name binding If the newly purchased Tencent ECS is bound with the newly purchased domain name? There are three pre steps: buying a server, buying a domain name and filing. These three steps will not be mentioned one by one.The server binds the domain name. In other words, it is resolved to your server when the domain name is ...

Added by ranam on Fri, 18 Feb 2022 01:17:21 +0200

Using feign as the client to call remote http service in spring boot

Feign introduction A central concept supported by feign of pring Cloud is named client Feign client uses @ feign client to register and assemble components and call remote server on demand Spring Cloud uses FeignClientsConfiguration to create a new collection as the ApplicationContext (application context) of each named client, including feign ...

Added by imcookie on Thu, 17 Feb 2022 21:28:06 +0200

Springboot integration Swagger3 detailed operation steps

catalogue 1. add dependency 2. Add the configuration file resources \ config \ swagger properties 3. Write Swagger3Config configuration class 4. Write the Ctronller class 5. Start access address: 6. Swagger3 common notes 1. Add dependency <!-- introduce swagger3 package --> <dependency> <groupId>io.springfox< ...

Added by chrispbrown on Thu, 17 Feb 2022 10:00:51 +0200

Hyperledger Fabric 2.x custom smart contract

1, Explain In order to continuously update information and manage the ledger (write transactions, query, etc.), the blockchain network has introduced smart contracts to access and control the ledger; Smart contract is called chain code in Fabric, which is the business logic of blockchain application. This article shares how to use the Java ...

Added by Jeb. on Thu, 17 Feb 2022 08:50:48 +0200

Theory + algorithm + practice, teach you how to realize distributed current limiting under 100 million traffic

Abstract: in Internet applications, high concurrency systems will face a major challenge, that is, a large number of stream high concurrency visits, such as tmall's double 11, JD 618, second kill, rush purchase promotion, etc. These are typical high concurrency scenarios with large traffic. This article is shared from Huawei cloud community& ...

Added by Rusnoff on Thu, 17 Feb 2022 07:03:29 +0200

In depth analysis of the source code of cloud + Spring + Rocket + spring

1, Introduction to RocketMQ architecture 1.1 logical deployment diagram (pictures from the Internet) 1.2 description of core components As can be seen from the above figure, RocketMQ's core components mainly include four, namely NameServer, Broker, Producer and Consumer. Let's briefly explain these four core components in turn: NameServe ...

Added by phpBuddy on Thu, 17 Feb 2022 05:28:36 +0200

Spring boot integrates Redis cache

1, Cache conceptual knowledge 1. What cache is it The word Cache is often heard in daily life. What is Cache? In fact, Cache is the buffer of data exchange (called Cache), which is the place where data (frequently used data) is temporarily stored. When users query data, they first look for it in the Cache. If they find it, they will execu ...

Added by friendlylad on Wed, 16 Feb 2022 14:25:52 +0200