Skip to content

Commit f7fc98b

Browse files
committed
feat: add boot and webui
1 parent 146f67c commit f7fc98b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2340
-1
lines changed

boot/.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/gradlew text eol=lf
2+
*.bat text eol=crlf
3+
*.jar binary

boot/.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
.sts4-cache
16+
bin/
17+
!**/src/main/**/bin/
18+
!**/src/test/**/bin/
19+
20+
### IntelliJ IDEA ###
21+
.idea
22+
*.iws
23+
*.iml
24+
*.ipr
25+
out/
26+
!**/src/main/**/out/
27+
!**/src/test/**/out/
28+
29+
### NetBeans ###
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
### VS Code ###
37+
.vscode/

boot/build.gradle

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.4.0'
4+
id 'io.spring.dependency-management' version '1.1.6'
5+
}
6+
7+
group = 'com.reajason.javaweb'
8+
version = '0.0.1-SNAPSHOT'
9+
10+
java {
11+
toolchain {
12+
languageVersion = JavaLanguageVersion.of(17)
13+
}
14+
}
15+
16+
configurations {
17+
compileOnly {
18+
extendsFrom annotationProcessor
19+
}
20+
}
21+
22+
repositories {
23+
mavenCentral()
24+
}
25+
26+
dependencies {
27+
implementation project(":generator")
28+
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
29+
implementation 'org.springframework.boot:spring-boot-starter-web'
30+
compileOnly 'org.projectlombok:lombok'
31+
developmentOnly 'org.springframework.boot:spring-boot-devtools'
32+
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
33+
annotationProcessor 'org.projectlombok:lombok'
34+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
35+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
36+
}
37+
38+
tasks.named('test') {
39+
useJUnitPlatform()
40+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.reajason.javaweb.boot;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
/**
7+
* @author ReaJason
8+
*/
9+
@SpringBootApplication
10+
public class BootApplication {
11+
12+
public static void main(String[] args) {
13+
SpringApplication.run(BootApplication.class, args);
14+
}
15+
16+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
spring:
2+
application:
3+
name: boot
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.reajason.javaweb.boot;
2+
3+
import org.junit.jupiter.api.Test;
4+
import org.springframework.boot.test.context.SpringBootTest;
5+
6+
@SpringBootTest
7+
class BootApplicationTests {
8+
9+
@Test
10+
void contextLoads() {
11+
}
12+
13+
}

settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ rootProject.name = 'MemShellParty'
33
include 'generator'
44
include 'vul-webapp'
55
include 'vul-webapp-jakarta'
6-
include 'integration-test'
6+
include 'integration-test'
7+
include 'boot'

web/.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Local
2+
.DS_Store
3+
*.local
4+
*.log*
5+
6+
# Dist
7+
node_modules
8+
dist/
9+
.vinxi
10+
.output
11+
.vercel
12+
.netlify
13+
.wrangler
14+
15+
# IDE
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea

web/biome.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true,
7+
"defaultBranch": "master"
8+
},
9+
"linter": {
10+
"enabled": true,
11+
"rules": {
12+
"suspicious": {
13+
"noExplicitAny": "off"
14+
},
15+
"style": {
16+
"useImportType": "off"
17+
},
18+
"recommended": true,
19+
"a11y": {
20+
"noSvgWithoutTitle": "off"
21+
},
22+
"correctness": {
23+
"noUnusedVariables": "warn",
24+
"noUnusedImports": "warn"
25+
}
26+
},
27+
"ignore": ["node_modules", "tsconfig*", "dist", "components/ui/**"]
28+
},
29+
"formatter": {
30+
"indentStyle": "space",
31+
"indentWidth": 2,
32+
"enabled": true,
33+
"lineWidth": 100,
34+
"ignore": ["node_modules", "tsconfig*", "dist"]
35+
},
36+
"organizeImports": {
37+
"enabled": true,
38+
"ignore": ["node_modules", "dist", "components/ui/**"]
39+
},
40+
"javascript": {
41+
"formatter": {
42+
"quoteStyle": "double"
43+
}
44+
}
45+
}

web/bun.lockb

139 KB
Binary file not shown.

0 commit comments

Comments
 (0)