Initial commit: LMS microservices scaffold

- Gradle multi-module: libs/{common-http,security-jwt,markdown,test-support},
  services/{identity,academic,progress,gateway}, web (Thymeleaf+htmx)
- identity-service: JWT auth (RSA), accounts, students, groups, enrollment,
  import from XLSX/CSV, credentials export, password reset
- academic-service: lab import from JSON/zip (markdown + YAML + variants),
  levels, API
- progress-service: schema for student levels and variant assignments
- gateway: Spring Cloud Gateway, JWT validation, route propagation
- web: Server-side UI with flex/footer layout, light/dark theme toggle,
  admin dashboard, groups CRUD, student portal placeholder
- docker-compose: PostgreSQL 18
- Tests: identity smoke test with Testcontainers
This commit is contained in:
2026-09-10 19:46:13 +03:00
commit 9b7748571e
119 changed files with 4671 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// Spring Boot application module: Kotlin/JVM + Spring/JPA plugins + Boot plugin.
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
kotlin("jvm")
id("org.jetbrains.kotlin.plugin.spring")
id("org.jetbrains.kotlin.plugin.jpa")
id("org.springframework.boot")
}
group = "ru.ysu.lms"
version = "0.1.0-SNAPSHOT"
kotlin {
jvmToolchain(21)
compilerOptions {
freeCompilerArgs.add("-Xjsr305=strict")
}
}
dependencies {
// Required by Spring for Kotlin reflection (Spring Data, @ConfigurationProperties binding).
"implementation"(kotlin("reflect"))
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
testLogging {
events(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
}
}

View File

@@ -0,0 +1,24 @@
// Shared Kotlin library module: Kotlin/JVM + Spring (all-open) compiler plugin.
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
kotlin("jvm")
id("org.jetbrains.kotlin.plugin.spring")
}
group = "ru.ysu.lms"
version = "0.1.0-SNAPSHOT"
kotlin {
jvmToolchain(21)
compilerOptions {
freeCompilerArgs.add("-Xjsr305=strict")
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
testLogging {
events(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
}
}