From 94c0da69edace66fe52edf16b27555a7ba0f1ae4 Mon Sep 17 00:00:00 2001
From: "Yangkai.Shen" <237497819@qq.com>
Date: Wed, 12 Dec 2018 17:54:04 +0800
Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-websocket-socketio=20?=
=?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 1 +
.../.gitignore | 25 +++++++++
spring-boot-demo-websocket-socketio/pom.xml | 55 +++++++++++++++++++
...gBootDemoWebsocketSocketioApplication.java | 25 +++++++++
.../src/main/resources/application.yml | 4 ++
...DemoWebsocketSocketioApplicationTests.java | 16 ++++++
6 files changed, 126 insertions(+)
create mode 100644 spring-boot-demo-websocket-socketio/.gitignore
create mode 100644 spring-boot-demo-websocket-socketio/pom.xml
create mode 100644 spring-boot-demo-websocket-socketio/src/main/java/com/xkcoding/websocket/socketio/SpringBootDemoWebsocketSocketioApplication.java
create mode 100644 spring-boot-demo-websocket-socketio/src/main/resources/application.yml
create mode 100644 spring-boot-demo-websocket-socketio/src/test/java/com/xkcoding/websocket/socketio/SpringBootDemoWebsocketSocketioApplicationTests.java
diff --git a/pom.xml b/pom.xml
index 113159a..a9e030c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,7 @@
+ * 启动器 + *
+ * + * @package: com.xkcoding.websocket.socketio + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018-12-12 13:59 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@SpringBootApplication +public class SpringBootDemoWebsocketSocketioApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoWebsocketSocketioApplication.class, args); + } +} diff --git a/spring-boot-demo-websocket-socketio/src/main/resources/application.yml b/spring-boot-demo-websocket-socketio/src/main/resources/application.yml new file mode 100644 index 0000000..a02fbde --- /dev/null +++ b/spring-boot-demo-websocket-socketio/src/main/resources/application.yml @@ -0,0 +1,4 @@ +server: + port: 8080 + servlet: + context-path: /demo \ No newline at end of file diff --git a/spring-boot-demo-websocket-socketio/src/test/java/com/xkcoding/websocket/socketio/SpringBootDemoWebsocketSocketioApplicationTests.java b/spring-boot-demo-websocket-socketio/src/test/java/com/xkcoding/websocket/socketio/SpringBootDemoWebsocketSocketioApplicationTests.java new file mode 100644 index 0000000..99b109b --- /dev/null +++ b/spring-boot-demo-websocket-socketio/src/test/java/com/xkcoding/websocket/socketio/SpringBootDemoWebsocketSocketioApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.websocket.socketio; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoWebsocketSocketioApplicationTests { + + @Test + public void contextLoads() { + } + +}