├── .gitignore ├── .idea ├── .gitignore ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── compiler.xml ├── jarRepositories.xml ├── kotlinScripting.xml ├── ktlint.xml ├── misc.xml ├── modules │ └── subprojects │ │ ├── boot │ │ └── kotlin-server-template.subprojects.boot.test.iml │ │ ├── domain │ │ └── kotlin-server-template.subprojects.domain.test.iml │ │ ├── infrastructure │ │ └── kotlin-server-template.subprojects.infrastructure.test.iml │ │ ├── kotlin-server-template.subprojects.test.iml │ │ └── presentation │ │ └── kotlin-server-template.subprojects.presentation.test.iml ├── sqldialects.xml └── vcs.xml ├── Dockerfile ├── README.md ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle.kts └── subproject ├── boot ├── build.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── io │ │ │ └── github │ │ │ └── doohochang │ │ │ └── ktserver │ │ │ ├── Application.kt │ │ │ └── Main.kt │ └── resources │ │ └── application.conf │ └── test │ └── kotlin │ └── io │ └── github │ └── doohochang │ └── ktserver │ └── EndToEndTestSpec.kt ├── domain ├── build.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── io │ │ └── github │ │ └── doohochang │ │ └── ktserver │ │ ├── entity │ │ └── User.kt │ │ ├── repository │ │ └── UserRepository.kt │ │ ├── service │ │ └── UserService.kt │ │ └── util │ │ └── Random.kt │ └── test │ └── kotlin │ └── io │ └── github │ └── doohochang │ └── ktserver │ ├── entity │ └── UserSpec.kt │ └── service │ └── UserServiceSpec.kt ├── infrastructure ├── build.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── io │ │ │ └── github │ │ │ └── doohochang │ │ │ └── ktserver │ │ │ ├── configuration │ │ │ └── PostgresqlConfiguration.kt │ │ │ └── repository │ │ │ ├── PostgresqlConnectionPool.kt │ │ │ ├── SpringDataExtension.kt │ │ │ └── UserRepositoryImpl.kt │ └── resources │ │ ├── infrastructure.conf │ │ └── sql │ │ └── 0.1.0.sql │ ├── test │ └── kotlin │ │ └── io │ │ └── github │ │ └── doohochang │ │ └── ktserver │ │ └── repository │ │ └── RepositorySpec.kt │ └── testFixtures │ ├── kotlin │ └── io │ │ └── github │ │ └── doohochang │ │ └── ktserver │ │ └── repository │ │ └── Postgresql.kt │ └── resources │ └── init-test.sql ├── logging ├── build.gradle.kts └── src │ ├── main │ └── resources │ │ └── logback.xml │ └── testFixtures │ └── resources │ └── logback-test.xml └── presentation ├── build.gradle.kts └── src └── main ├── kotlin └── io │ └── github │ └── doohochang │ └── ktserver │ ├── http │ ├── GreetingApi.kt │ ├── HttpConfiguration.kt │ ├── HttpServer.kt │ ├── Logging.kt │ └── UserApi.kt │ └── json │ ├── PatchUserRequest.kt │ ├── PostUserRequest.kt │ └── User.kt └── resources └── presentation.conf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /.idea/kotlinScripting.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/kotlinScripting.xml -------------------------------------------------------------------------------- /.idea/ktlint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/ktlint.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules/subprojects/boot/kotlin-server-template.subprojects.boot.test.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/modules/subprojects/boot/kotlin-server-template.subprojects.boot.test.iml -------------------------------------------------------------------------------- /.idea/modules/subprojects/domain/kotlin-server-template.subprojects.domain.test.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/modules/subprojects/domain/kotlin-server-template.subprojects.domain.test.iml -------------------------------------------------------------------------------- /.idea/modules/subprojects/infrastructure/kotlin-server-template.subprojects.infrastructure.test.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/modules/subprojects/infrastructure/kotlin-server-template.subprojects.infrastructure.test.iml -------------------------------------------------------------------------------- /.idea/modules/subprojects/kotlin-server-template.subprojects.test.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/modules/subprojects/kotlin-server-template.subprojects.test.iml -------------------------------------------------------------------------------- /.idea/modules/subprojects/presentation/kotlin-server-template.subprojects.presentation.test.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/modules/subprojects/presentation/kotlin-server-template.subprojects.presentation.test.iml -------------------------------------------------------------------------------- /.idea/sqldialects.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/sqldialects.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/README.md -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /subproject/boot/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/boot/build.gradle.kts -------------------------------------------------------------------------------- /subproject/boot/src/main/kotlin/io/github/doohochang/ktserver/Application.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/boot/src/main/kotlin/io/github/doohochang/ktserver/Application.kt -------------------------------------------------------------------------------- /subproject/boot/src/main/kotlin/io/github/doohochang/ktserver/Main.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/boot/src/main/kotlin/io/github/doohochang/ktserver/Main.kt -------------------------------------------------------------------------------- /subproject/boot/src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/boot/src/main/resources/application.conf -------------------------------------------------------------------------------- /subproject/boot/src/test/kotlin/io/github/doohochang/ktserver/EndToEndTestSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/boot/src/test/kotlin/io/github/doohochang/ktserver/EndToEndTestSpec.kt -------------------------------------------------------------------------------- /subproject/domain/build.gradle.kts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/entity/User.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/entity/User.kt -------------------------------------------------------------------------------- /subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/repository/UserRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/repository/UserRepository.kt -------------------------------------------------------------------------------- /subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/service/UserService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/service/UserService.kt -------------------------------------------------------------------------------- /subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/util/Random.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/main/kotlin/io/github/doohochang/ktserver/util/Random.kt -------------------------------------------------------------------------------- /subproject/domain/src/test/kotlin/io/github/doohochang/ktserver/entity/UserSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/test/kotlin/io/github/doohochang/ktserver/entity/UserSpec.kt -------------------------------------------------------------------------------- /subproject/domain/src/test/kotlin/io/github/doohochang/ktserver/service/UserServiceSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/domain/src/test/kotlin/io/github/doohochang/ktserver/service/UserServiceSpec.kt -------------------------------------------------------------------------------- /subproject/infrastructure/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/build.gradle.kts -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/configuration/PostgresqlConfiguration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/configuration/PostgresqlConfiguration.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/PostgresqlConnectionPool.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/PostgresqlConnectionPool.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/SpringDataExtension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/SpringDataExtension.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/UserRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/kotlin/io/github/doohochang/ktserver/repository/UserRepositoryImpl.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/resources/infrastructure.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/resources/infrastructure.conf -------------------------------------------------------------------------------- /subproject/infrastructure/src/main/resources/sql/0.1.0.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/main/resources/sql/0.1.0.sql -------------------------------------------------------------------------------- /subproject/infrastructure/src/test/kotlin/io/github/doohochang/ktserver/repository/RepositorySpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/test/kotlin/io/github/doohochang/ktserver/repository/RepositorySpec.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/testFixtures/kotlin/io/github/doohochang/ktserver/repository/Postgresql.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/testFixtures/kotlin/io/github/doohochang/ktserver/repository/Postgresql.kt -------------------------------------------------------------------------------- /subproject/infrastructure/src/testFixtures/resources/init-test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/infrastructure/src/testFixtures/resources/init-test.sql -------------------------------------------------------------------------------- /subproject/logging/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/logging/build.gradle.kts -------------------------------------------------------------------------------- /subproject/logging/src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/logging/src/main/resources/logback.xml -------------------------------------------------------------------------------- /subproject/logging/src/testFixtures/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/logging/src/testFixtures/resources/logback-test.xml -------------------------------------------------------------------------------- /subproject/presentation/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/build.gradle.kts -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/GreetingApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/GreetingApi.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/HttpConfiguration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/HttpConfiguration.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/HttpServer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/HttpServer.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/Logging.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/Logging.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/UserApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/http/UserApi.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/PatchUserRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/PatchUserRequest.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/PostUserRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/PostUserRequest.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/User.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/kotlin/io/github/doohochang/ktserver/json/User.kt -------------------------------------------------------------------------------- /subproject/presentation/src/main/resources/presentation.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doohochang/kotlin-server-template/HEAD/subproject/presentation/src/main/resources/presentation.conf --------------------------------------------------------------------------------