Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CortLee
1024程序员开源挑战赛(10.23-11.14)
比较版本
5214400a32acfabc100fc85c965758fa1e384db0...4ec09157ea31a34b07a7d4450a94aa0086a67bbd
1
1024程序员开源挑战赛(10.23-11.14)
项目概览
CortLee
/
1024程序员开源挑战赛(10.23-11.14)
与 Fork 源项目一致
Fork自
GitCode / 1024程序员开源挑战赛(10.23-11.14)
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
1
1024程序员开源挑战赛(10.23-11.14)
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
4ec09157ea31a34b07a7d4450a94aa0086a67bbd
选择Git版本
...
目标分支
5214400a32acfabc100fc85c965758fa1e384db0
选择Git版本
比较
Commits (3)
https://gitcode.net/li819059787/1024opensource/-/commit/e834968b167f24d5a3c54039a616c9fb4d82d4c1
Initial commit
2022-11-13T22:52:47+08:00
Cortlee
819059787@qq.com
https://gitcode.net/li819059787/1024opensource/-/commit/3821a70a363af948a405021eed4d235131f763f9
Initial commit
2022-11-13T22:54:06+08:00
Cortlee
819059787@qq.com
https://gitcode.net/li819059787/1024opensource/-/commit/4ec09157ea31a34b07a7d4450a94aa0086a67bbd
Initial commit
2022-11-13T22:56:02+08:00
Cortlee
819059787@qq.com
隐藏空白更改
内联
并排
Showing
7 changed file
with
89 addition
and
0 deletion
+89
-0
pom.xml
pom.xml
+41
-0
preview.yml
preview.yml
+10
-0
src/main/java/com/gitcode/opensource/Application.java
src/main/java/com/gitcode/opensource/Application.java
+18
-0
src/main/java/com/gitcode/opensource/controller/HelloWorld.java
...in/java/com/gitcode/opensource/controller/HelloWorld.java
+19
-0
src/main/resources/application.properties
src/main/resources/application.properties
+1
-0
target/opensource-0.0.1-SNAPSHOT.jar
target/opensource-0.0.1-SNAPSHOT.jar
+0
-0
target/opensource-0.0.1-SNAPSHOT.jar.original
target/opensource-0.0.1-SNAPSHOT.jar.original
+0
-0
未找到文件。
pom.xml
0 → 100644
浏览文件 @
4ec09157
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.4.2
</version>
<relativePath/>
</parent>
<groupId>
com.gitcode
</groupId>
<artifactId>
opensource
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
1024opensource
</name>
<description>
1024opensource
</description>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
preview.yml
0 → 100644
浏览文件 @
4ec09157
# preview.yml
autoOpen
:
true
# 打开工作空间时是否自动开启所有应用的预览
apps
:
-
port
:
8080
# 应用的端口
run
:
java -jar ./target/opensource-0.0.1-SNAPSHOT.jar
# 应用的启动命令
command
:
# 使用此命令启动服务,且不执行run
root
:
./
# 应用的启动目录
name
:
hello-1024
# 应用名称
description
:
hello-1024
# 应用描述
autoOpen
:
true
# 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen)
src/main/java/com/gitcode/opensource/Application.java
0 → 100644
浏览文件 @
4ec09157
package
com.gitcode.opensource
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
/**
* spring启动
*/
@SpringBootApplication
public
class
Application
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Application
.
class
);
}
}
\ No newline at end of file
src/main/java/com/gitcode/opensource/controller/HelloWorld.java
0 → 100644
浏览文件 @
4ec09157
package
com.gitcode.opensource.controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
public
class
HelloWorld
{
/**
* hello
* @return
*/
@GetMapping
public
String
helloWorld
(){
return
"hello 1024!!!"
;
}
}
src/main/resources/application.properties
0 → 100644
浏览文件 @
4ec09157
server.port
=
8080
\ No newline at end of file
target/opensource-0.0.1-SNAPSHOT.jar
0 → 100644
浏览文件 @
4ec09157
文件已添加
target/opensource-0.0.1-SNAPSHOT.jar.original
0 → 100644
浏览文件 @
4ec09157
文件已添加