This is the one I see on github open source projects, technologies are used in newer technology
Technology Selection
View
SpringBoot
mybatis
rabbitMQ
Docker
development tools
idea
HbuilderX
Installation Vue
Vue on the official website https://vuejs.org/ download vue.js, and copy him to the project directory and referenced in the script tag
Creating SpringBoot project
First install maven and then create a web project idea, and the introduction of the following dependencies in pom.xml
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.7.RELEASE</version> </parent> <dependencies> <-! Springboot introduction of web support, to help you package a lot better a dependent -> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <-! Springboot integrated jsp, note the following three properties affect scope play war package -> <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency> <-! Springboot integration mybatis, Ali data sources, mysql or Oracle -> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.12</version> </dependency> <!--<dependency>--> <!--<groupId>com.oracle</groupId>--> <!--<artifactId>ojdbc6</artifactId>--> <!--<version>6.0</version>--> <!--</dependency>--> <!--<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency>--> <-! Fastjson format conversion -> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.15</version> </dependency> <! - introducing springboot testing relies -> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <! - introduced lombok -> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.8</version> <scope>provided</scope> </dependency> <-! Devtools introduced a global hot deployment, caution, and redis deserialize have cache conflict error when deserializing -> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> <! - introduced jedis -> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependency> <! - the introduction of a kit -> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.4</version> </dependency> </dependencies>
Then you can start the project,
Use Docker deployment project: https://github.com/macrozheng/mall-learning/blob/master/docs/reference/linux_install.md
Written in great detail clear