SpringBoot practice: integration with Vue element admin login

The previous blog has the login integration of Vue element admin: Login integration This time, a simplified version is written. Only the user/login, user/logout and user/info interfaces required by the front end are needed. Login realizes token generation. Logout directly exits login without operation logic. info takes the token after vuex exis ...

Added by tnylsej on Fri, 17 Sep 2021 23:45:35 +0300

Dependency management and automatic configuration of spring boot

Dependency management Create a springboot project according to the official springboot documentation We import the parent project <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.4</version> </parent&g ...

Added by mwilson2 on Mon, 13 Sep 2021 06:33:58 +0300

SpringBoot practice: JUnit5+MockMvc+Mockito do unit testing well

This picture was created by NickyPe stay Pixabay Publish on Hello, I'm looking at the mountain. Today, let's talk about how to integrate junit5, MockMvc and Mocktio in SpringBoot. Junit5 is the most widely used testing framework in the Java stack, and Junit4 once dominated the list. After upgrading to JUnit 5, in addition to adding ...

Added by bfinucan on Sun, 12 Sep 2021 03:08:51 +0300

Quick Start for the SpringBoot 2.0 Getting Started Tutorial, Project Build HelloWorld Example

This is an original joshua317 article, reprinted please note: Reprinted from joshua317 Blog SpringBoot 2.0 Getting Started Tutorial (1) Quick Start, Project Build Hello World Example - joshua317 Blog 1. Objectives You can quickly start a Spring web project yourself. 2. Brief introduction 1. What is Spring Boot Spring Boot is a new framewor ...

Added by stevieontario on Sat, 11 Sep 2021 19:46:44 +0300

clickhouse preliminary cognition

1, Introduction 1.1 what is a clickhouse ClickHouse is a columnar database management system (DBMS) for on-line analysis (OLAP). In the traditional line database system, data is stored in the following order: Data in the same row is always physically stored together. Common line database systems include MySQL, Postgres and MS SQL Server. ...

Added by ycoleman on Fri, 10 Sep 2021 07:03:58 +0300

After using MybatisPlus, I haven't written sql for a long time

(1) Preface When you first wrote JDBC, you needed to manually configure connection information by writing SQL statements one by one. Then Mybatis appeared, no more manual configuration of connection information was needed, and the SQL statements were isolated from the code, but Sql was unavoidable. Then Mybatis Plus appeared, which did not eve ...

Added by $kevan on Thu, 09 Sep 2021 00:57:02 +0300

SpringBoot unified log processing, 2021 Android interview

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-XSJ80gT0-1630940490789)(I:\SpringBoot unified log processing \ img\slf4j log output process. png)] As can be seen from the figure, after the application calls the api interface of ...

Added by dsoftnet on Tue, 07 Sep 2021 08:25:13 +0300

SpringBoot project configuration

1, IDEA settings 1. Set zoom Font size scaling via Ctrl + mouse wheel 2. Automatic prompt setting 3. Automatic prompt for parameter setting method After setting, the method has parameter prompt 4. Set character set UTF-8 coding is required 5. Set automatic compilation 6.Maven settings 2, Lombok 1. Function Previous Java pro ...

Added by Tensing on Sun, 05 Sep 2021 08:32:49 +0300

2-springboot custom configuration process

1. Parent <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.4</version> </parent> <!--To view the parent configuration of its parent:--> <parent> <groupId>org.springframework.boot</groupId> ...

Added by CaptainStarbuck on Fri, 03 Sep 2021 02:41:41 +0300