{"id":271,"date":"2020-04-24T21:38:36","date_gmt":"2020-04-24T12:38:36","guid":{"rendered":"http:\/\/localhost:8000\/?p=271"},"modified":"2021-01-17T21:32:20","modified_gmt":"2021-01-17T12:32:20","slug":"kotlin-ktor-clean-architecture","status":"publish","type":"post","link":"http:\/\/localhost:8000\/2020\/04\/kotlin-ktor-clean-architecture.html","title":{"rendered":"Kotlin+Ktor\u3067\u6280\u8853\u8981\u7d20\u3092\u8a66\u3057\u306a\u304c\u3089\u30af\u30ea\u30fc\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3067API\u30b5\u30fc\u30d0\u69cb\u7bc9"},"content":{"rendered":"

\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9Kotlin\u3068\u3044\u3048\u3070Spring Boot<\/a>\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002
\n\u500b\u4eba\u7684\u306b\u306fSpring Boot\u306f\u3001Auto Configuration\u306e\u30d6\u30e9\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u611f\u304c\u8f9b\u304f\u3066\u3001\u3082\u3063\u3068\u30b7\u30f3\u30d7\u30eb\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u4e57\u308a\u63db\u3048\u305f\u3044\u3068\u3044\u3046\u601d\u3044\u304c\u5e38\u3005\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n

JetBrains\u793e\u88fd\u306eWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bKtor<\/a>\u304c\u30012018\u5e7411\u6708\u306bv1.0.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u30012020\u5e744\u6708\u73fe\u5728v1.3.2\u307e\u3067\u9806\u8abf\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u7d9a\u3051\u3066\u304a\u308a\u3001\u305d\u308d\u305d\u308d\u672c\u683c\u7684\u306b\u5229\u7528\u3057\u3066\u3082\u826f\u3055\u305d\u3046\u306a\u6c17\u914d\u3092\u611f\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n

\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Kotlin+Ktor\u3067REST API\u306e\u4f5c\u6210\u306b\u5fc5\u8981\u306a\u6280\u8853\u8981\u7d20\u3092Step By Step\u3067\u691c\u8a3c\u3057\u3066\u307f\u306a\u304c\u3089\u3001\u30af\u30ea\u30fc\u30f3\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306aAPI\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3057\u3066\u307f\u305f\u3044<\/u>\u3068\u601d\u3044\u307e\u3059\u3002
\n\"\"<\/p>\n

\u6700\u521d\u306e\u753b\u9762\u3092\u8868\u793a<\/h2>\n

Ktor Plugin<\/a>\u3092\u4f7f\u3046\u65b9\u6cd5\u3060\u3068\u826f\u304f\u8a2d\u5b9a\u5185\u5bb9\u3092\u7406\u89e3\u305b\u305a\u306b\u4f7f\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3057\u3001Docker\u3092\u4f7f\u3046\u65b9\u6cd5<\/a>\u3060\u3068HotReload\u304c\u3067\u304d\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u4eca\u56de\u306fGradle\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u65b9\u6cd5<\/a>\u3092\u8a66\u3057\u3066\u884c\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

IntelliJ\u3067Gradle\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/h3>\n

\u307e\u305a\u3001Gradle\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067kotlin\u3092\u9078\u629e\u3057\u307e\u3059\u3002
\n\"\"<\/p>\n

Gradle\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u597d\u307f\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002
\n\"\"<\/p>\n