{"id":55739,"date":"2024-03-11T18:45:06","date_gmt":"2024-03-11T09:45:06","guid":{"rendered":"https:\/\/kinqsta.com\/jp\/?p=55739&#038;post_type=knowledgebase&#038;preview_id=55739"},"modified":"2025-10-02T04:44:57","modified_gmt":"2025-10-01T19:44:57","slug":"nestjs","status":"publish","type":"post","link":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/","title":{"rendered":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac"},"content":{"rendered":"<p>\u5927\u898f\u6a21\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7ba1\u7406\u306f\u7c21\u5358\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u7279\u306b\u7dbf\u5bc6\u306b\u8a08\u753b\u3055\u308c\u305f\u69cb\u9020\u3084\u53b3\u5bc6\u306a\u30b3\u30fc\u30c9\u7de8\u6210\u6226\u7565\u304c\u306a\u3044\u3068\u3001\u6df7\u4e71\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u306e\u554f\u984c\u767a\u751f\u306f\u3001\u4f55\u3068\u3057\u3066\u3082\u907f\u3051\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u6570\u304c\u62e1\u5927\u3059\u308b\u306b\u3064\u308c\u3066\u3001\u30b3\u30fc\u30c9\u306e\u6539\u5584\u3084\u65b0\u6a5f\u80fd\u306e\u8ffd\u52a0\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u6b20\u9665\u304c\u3042\u3089\u308f\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u4e2d\u3067Nest.js\u304c\u3001\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u3084\u7de8\u6210\u6226\u7565\u306e\u554f\u984c\u306b\u5bfe\u3059\u308b\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002Nest.js\u306f\u3001<a href=\"https:\/\/kinqsta.com\/jp\/software-engineering-statistics\/\">\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u5de5\u5b66<\/a>\u3068\u30e2\u30b8\u30e5\u30e9\u30fc\u3068\u3044\u3046\u69cb\u9020\u3092\u5473\u65b9\u306b\u3064\u3051\u305f\u6bd4\u8f03\u7684\u65b0\u3057\u3044\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n\n<p>Nest.js\u306f\u578b\u30c1\u30a7\u30c3\u30af\u306b<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-typescript\/\">TypeScript<\/a>\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001\u30c6\u30b9\u30c8\u306e\u3057\u3084\u3059\u3055\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u69cb\u9020\u3092\u7279\u5fb4\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u4f7f\u3044\u3001\u758e\u7d50\u5408\u3067\u4fdd\u5b88\u304c\u5bb9\u6613\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u3059\u3050\u306b\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Nest.js\u306b\u3064\u3044\u3066\u3001\u305d\u3057\u3066Nest.js\u3092\u4f7f\u3063\u3066\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u69cb\u7bc9\u3067\u304d\u308b\u306e\u304b\u306b\u3064\u3044\u3066\u3054\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9577\u6240\u3068\u77ed\u6240\u306b\u8feb\u308a\u3001\u591a\u304f\u306e\u6709\u540d\u4f01\u696d\u304cNest.js\u3092\u63a1\u7528\u3057\u3066\u3044\u308b\u7406\u7531\u3082\u660e\u3089\u304b\u306b\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u6700\u5f8c\u306b\u306f\u3001Nest.js\u3092\u4f7f\u3063\u305fToDo API\u306e\u4f5c\u6210\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc><\/p>\n<h2>Nest.js\u3068\u306f<\/h2>\n<p>Nest.js\u306f\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-node-js\/\">Node.js<\/a>\u3092\u4f7f\u7528\u3057\u3066\u52b9\u7387\u7684\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30b0\u30ec\u30fc\u30c9\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306e\u3067\u304d\u308b\u3001\u6025\u6210\u9577\u3092\u898b\u305b\u308b<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-node-js\/\">Node.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a>\u3067\u3059\u3002Nest.js\u3067\u306f\u3001\u30e2\u30c0\u30f3<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-javascript\/\">JavaScript<\/a>\u3068TypeScript\u3092\u4f7f\u7528\u3057\u3066\u3001\u9ad8\u3044\u30c6\u30b9\u30c8\u53ef\u80fd\u6027\u3001\u4fdd\u5b88\u6027\u3001\u62e1\u5f35\u6027\u3092\u5099\u3048\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_127249\" aria-describedby=\"caption-attachment-127249\" style=\"width: 1400px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-127249 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/06\/nest-js-logo.png\" alt=\"Nest.js\u306e\u30ed\u30b4\" width=\"1400\" height=\"1050\"><figcaption id=\"caption-attachment-127249\" class=\"wp-caption-text\">Nest.js\u306e\u516c\u5f0f\u30ed\u30b4\uff08\u753b\u50cf\u51fa\u5178\uff1a<a href=\"https:\/\/www.behance.net\/gallery\/74182713\/Nest-JS-The-official-logo\" target=\"_blank\" rel=\"noopener noreferrer\">Behance<\/a>\uff09<\/figcaption><\/figure>\n<p>Nest.js\u306f<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-github\/\">GitHub<\/a>\u30674\u4e076,600\u306e\u30b9\u30bf\u30fc\u30685,400\u306e\u30d5\u30a9\u30fc\u30af\u3092\u8a18\u9332\u3057\u3001\u6bce\u9031\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6570\u306f70\u4e07\u306b\u9054\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Nest.js\u306f\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u4fdd\u5b88\u306e\u3057\u3084\u3059\u3044\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30ec\u30d9\u30eb\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u306e\u306b\u512a\u308c\u305f\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Nest.js\u304c\u3069\u306e\u3088\u3046\u306a\u7528\u9014\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u304b\u3001\u307e\u305f\u3001\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u672c\u756a\u74b0\u5883\u3067\u4f7f\u7528\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u4f01\u696d\u306b\u3064\u3044\u3066\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>Nest.js\u306f\u4f55\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u304b<\/h2>\n<p>Nest.js\u306f\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306eNode.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u30c6\u30b9\u30c8\u3068\u4fdd\u5b88\u306e\u3057\u3084\u3059\u3044\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u306e\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/kinqsta.com\/jp\/blog\/node-js-apps\/\" rel=\"noopener\">Node.js\u3067\u306f\u3042\u3089\u3086\u308b\u30bf\u30a4\u30d7\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3092\u958b\u767a\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>TypeScript\u3092\u6d3b\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001Nest.js\u306fTypeScript\u306e\u578b\u30c1\u30a7\u30c3\u30af\u6027\u80fd\u3092\u30d5\u30eb\u6d3b\u7528\u3057\u305f\u3044\u30c1\u30fc\u30e0\u306e\u9593\u3067\u7279\u306b\u4eba\u6c17\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001Nest.js\u306f\u5b66\u7fd2\u3082\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3001\u30d1\u30ef\u30d5\u30eb\u306aCLI\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u751f\u7523\u6027\u3068\u958b\u767a\u306e\u3057\u3084\u3059\u3055\u304c\u3055\u3089\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002CLI\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7c21\u5358\u306b\u958b\u59cb\u3057\u3001\u5b8c\u6210\u307e\u3067\u5c0e\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001Nest.js\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u8c4a\u5bcc\u306b\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u958b\u767a\u8005\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3082\u6d3b\u767a\u3067\u3001\u554f\u984c\u89e3\u6c7a\u306b\u4f7f\u3048\u308b\u60c5\u5831\u304c\u7c21\u5358\u306b\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u7406\u7531\u304b\u3089\u3001\u591a\u304f\u306e\u4f01\u696d\u304c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092Nest.js\u306b\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002Nest.js\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u6709\u540d\u4f01\u696d\u304c\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<h3>\u30ed\u30b7\u30e5\/Roche<\/h3>\n<p>Roche\u306f\u3001\u533b\u85ac\u54c1\u3068\u8a3a\u65ad\u85ac\u3068\u3044\u30462\u3064\u306e\u90e8\u9580\u3067\u4e8b\u696d\u3092\u5c55\u958b\u3059\u308b\u591a\u56fd\u7c4d\u30d8\u30eb\u30b9\u30b1\u30a2\u4f01\u696d\u3067\u3059\u3002\u3053\u306e\u30a2\u30e1\u30ea\u30ab\u306e\u30d0\u30a4\u30aa\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u4f01\u696d\u306f\u3001\u60a3\u8005\u306b\u4fe1\u983c\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u3001\u30e1\u30a4\u30f3\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067Nest.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/06\/roche.png\" alt=\"Roche\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8\" width=\"1600\" height=\"795\"><figcaption class=\"wp-caption-text\">Roche\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8<\/figcaption><\/figure>\n<h3>\u30a2\u30c7\u30a3\u30c0\u30b9\/Adidas<\/h3>\n<p>\u30a2\u30c7\u30a3\u30c0\u30b9\u306f\u30e8\u30fc\u30ed\u30c3\u30d1\u6700\u5927\u3001\u4e16\u754c\u7b2c2\u4f4d\u306e\u30b9\u30dd\u30fc\u30c4\u30a6\u30a7\u30a2\u30e1\u30fc\u30ab\u30fc\u3067\u3059\u3002\u30b7\u30e5\u30fc\u30ba\u3001\u30a6\u30a7\u30a2\u3001\u30a2\u30af\u30bb\u30b5\u30ea\u3068\u3044\u3063\u305f\u88fd\u54c1\u306e\u30c7\u30b6\u30a4\u30f3\u3068\u88fd\u9020\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u8a87\u308a\u307e\u3059\u3002\u4e16\u754c\u7684\u306a\u77e5\u540d\u5ea6\u3068\u4eba\u6c17\u306f\u8a00\u3046\u307e\u3067\u3082\u306a\u304f\u3001\u5927\u898f\u6a21\u3067\u52b9\u7387\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u7bc9\u306b\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u306e\u9ad8\u3044Nest.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u306b\u306f\u7d0d\u5f97\u3067\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/06\/adidas.png\" alt=\"\u30a2\u30c7\u30a3\u30c0\u30b9\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8\" width=\"1600\" height=\"797\"><figcaption class=\"wp-caption-text\">\u30a2\u30c7\u30a3\u30c0\u30b9\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8<\/figcaption><\/figure>\n<h3>\u30c7\u30ab\u30c8\u30ed\u30f3\/Decathlon<\/h3>\n<p>Decathlon\u306f\u300157\u30ab\u56fd\u306b1,500\u4ee5\u4e0a\u306e\u5e97\u8217\u3092\u6301\u3064\u30b9\u30dd\u30fc\u30c4\u7528\u54c1\u5c0f\u58f2\u696d\u8005\u3067\u3059\u3002\u540c\u793e\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e<a href=\"https:\/\/kinqsta.com\/blog\/backend-vs-frontend\/\">\u30d0\u30c3\u30af\u30a8\u30f3\u30c9<\/a>\u3068\u3057\u3066Nest.js\u3092\u9078\u629e\u3057\u3001\u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u62e1\u5f35\u3068\u4fdd\u5b88\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/06\/decathlon.png\" alt=\"\u30c7\u30ab\u30c8\u30ed\u30f3\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8\" width=\"1600\" height=\"771\"><figcaption class=\"wp-caption-text\">\u30c7\u30ab\u30c8\u30ed\u30f3\u306e\u516c\u5f0f\u30db\u30fc\u30e0\u30da\u30fc\u30b8<\/figcaption><\/figure>\n<p>Nest.js\u3067\u69cb\u7bc9\u3055\u308c\u305f\u305d\u306e\u4ed6\u306e\u4f01\u696d\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3001\u30c4\u30fc\u30eb\u306e\u4e00\u89a7\u306f<a href=\"https:\/\/github.com\/juliandavidmr\/awesome-nestjs#projects-using-nestjs\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u4eca\u5f8c\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306bNest.js\u3092\u304a\u3059\u3059\u3081\u3059\u308b\u7406\u7531\u3001\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u7279\u5fb4\u306a\u3069\u306b\u3064\u3044\u3066\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Nest.js\u304c\u9078\u3070\u308c\u3066\u3044\u308b\u7406\u7531<\/h2>\n<p>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9078\u629e\u306f\u3001\u958b\u767a\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u59cb\u3059\u308b\u3001\u307e\u305f\u306f\u6b21\u306e\u30ec\u30d9\u30eb\u306b\u5f15\u304d\u4e0a\u3052\u308b\u305f\u3081\u306bNode.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306e\u5f37\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Nest.js\u306f\u3001\u7279\u306b<a href=\"https:\/\/kinqsta.com\/blog\/php-vs-angular\/\">Angular<\/a>\u3092\u7d4c\u9a13\u3057\u3066\u304d\u305f\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u3001\u5b66\u3073\u3084\u3059\u304f\u7fd2\u5f97\u3057\u3084\u3059\u3044\u50be\u5411\u306b\u3042\u308a\u307e\u3059\u3002\u65b0\u3057\u3044\u958b\u767a\u306e\u539f\u5247\u3084\u69cb\u9020\u306b\u7c21\u5358\u306b\u9069\u5fdc\u3067\u304d\u308b\u305f\u3081\u3001\u7d20\u65e9\u304f\u52b9\u7387\u7684\u306a\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3001\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u305f\u512a\u308c\u305f\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u69cb\u9020\u3092\u8a87\u308a\u307e\u3059\u3002<\/li>\n<li>Nest.js\u3067RESTful API\u3001GraphQL\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001MVC\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001WebSocket\u3001CLI\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/wordpress-cron-job\/\">Cron\u30b8\u30e7\u30d6<\/a>\u306a\u3069\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u7c21\u5358\u306b\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6a19\u6e96\u7684\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u69cb\u6210\u8981\u7d20\u304c\u3001Nest.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u3059\u3067\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>Nest.js\u306f\u3001TypeScript\u306e\u3088\u3046\u306a\u6700\u65b0\u306e\u6280\u8853\u3001\u5805\u7262\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30d1\u30bf\u30fc\u30f3\u3001\u512a\u308c\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3001\u7c21\u5358\u306b\u4f7f\u3048\u308b\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u63a1\u7528\u3057\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u4fdd\u5b88\u306e\u6357\u308b\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u5bfe\u5fdc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u306e\u306b\u6709\u7528\u3067\u3059\u3002<\/li>\n<li>Nest.js\u306f\u3001\u5927\u898f\u6a21\u306a\u30e2\u30ce\u30ea\u30b7\u30c3\u30af\u304a\u3088\u3073<a href=\"https:\/\/kinqsta.com\/blog\/microservices-vs-api\/\">\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9<\/a>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u958b\u767a\u3055\u308c\u305f\u3082\u306e\u3067\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306f\u3059\u3067\u306b\u51e6\u7406\u3055\u308c\u3066\u304a\u308a\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u3092\u69cb\u7bc9\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/li>\n<li>Nest.js\u306f\u3001TypeORM\u3001Mongoose\u3001GraphQL\u306e\u3088\u3046\u306a\u30b3\u30f3\u30bb\u30d7\u30c8\u304b\u3089\u3001\u30ed\u30ae\u30f3\u30b0\u3001\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3001WebSocket\u3001\u305d\u306e\u4ed6\u591a\u304f\u306e\u6a5f\u80fd\u307e\u3067\u3001\u5927\u898f\u6a21\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30d9\u30fc\u30b9\u306e\u30b5\u30dd\u30fc\u30c8\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u6b21\u306b\u3001Nest.js\u306e\u9577\u6240\u3068\u77ed\u6240\u3092\u63a2\u308a\u307e\u3059\u3002\u826f\u3044\u70b9\u3068\u60aa\u3044\u70b9\u306e\u4e21\u65b9\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63a1\u7528\u3059\u308b\u6c7a\u65ad\u3092\u56fa\u3081\u308b\u52a9\u3051\u3068\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>Nest.js\u306e\u9577\u6240\u3068\u77ed\u6240<\/h2>\n<p>Nest.js\u304cNode.js\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067\u4eba\u6c17\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308b\u7406\u7531\u3092\u3088\u308a\u3088\u304f\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u3001Nest.js\u306e\u9577\u6240\u3068\u77ed\u6240\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u9577\u6240<\/h3>\n<p>Nest.js\u3092\u4f7f\u7528\u3059\u308b\u5229\u70b9\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30d1\u30ef\u30d5\u30eb\u3067\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc<\/strong>\uff1a\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u4f7f\u3044\u3084\u3059\u304f\u3001\u8907\u96d1\u306a\u6a5f\u80fd\u3067\u3042\u3063\u3066\u3082\u7c21\u5358\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Nest.js\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3067\u30c1\u30fc\u30e0\u3067\u306e\u958b\u767a\u3092\u3059\u3050\u306b\u59cb\u3081\u3089\u308c\u3001<a href=\"https:\/\/kinqsta.com\/blog\/website-security-check\/\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<\/a>\u306a\u3069\u306e\u8981\u7d20\u306f\u7d44\u307f\u8fbc\u307f\u306e\u6027\u80fd\u3092\u305d\u306e\u307e\u307e\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u3092\u66f8\u304f\u3053\u3068\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>Angular\u30b9\u30bf\u30a4\u30eb\u306e\u69cb\u6587\uff08\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\uff09<\/strong>\uff1a<a href=\"https:\/\/kinqsta.com\/blog\/angular-vs-react\/\" rel=\"noopener\">Angular<\/a>\u306f\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u69cb\u9020\u5316\u306b\u96c6\u4e2d\u3057\u305f\u3001<a href=\"https:\/\/kinqsta.com\/blog\/angular-vs-react\/\" rel=\"noopener\">\u4eba\u6c17\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a>\u3067\u3059\u3002Nest.js\u306f\u8a00\u3046\u306a\u308c\u3070\u300c\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306eAngular\u300d\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001Angular\u306e\u30b9\u30bf\u30a4\u30eb\u3068\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u9020\u5316\u3092\u652f\u63f4\u3057\u307e\u3059\u3002<\/li>\n<li><strong>TypeScript<\/strong>\uff1aNest.js\u306f\u6a19\u6e96\u3067TypeScript\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3084\u8b66\u544a\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3084\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7d20\u65e9\u304f\u66f8\u304f\u3053\u3068\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002VSCode\u3068\u306e\u89aa\u548c\u6027\u304c\u9ad8\u304f\u3001\u30a2\u30af\u30bb\u30b9\u6027\u306e\u9ad8\u3044\u958b\u767a\u74b0\u5883\u304c\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u5fb9\u5e95\u3057\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/strong>\uff1aNest.js\u306f\u3042\u3089\u3086\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u6bd4\u8f03\u3057\u3066\u3082\u9ad8\u3044\u30ec\u30d9\u30eb\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8a87\u308a\u3001\u5b66\u7fd2\u3084\u7406\u89e3\u3092\u6df1\u3081\u308b\u306e\u306b\u6709\u7528\u3067\u3059\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3056\u3063\u3068\u76ee\u3092\u901a\u3059\u3060\u3051\u3067\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u30c7\u30d0\u30c3\u30b0\u306e\u6642\u9593\u3092\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u512a\u308c\u305f\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u7d20\u65e9\u3044\u958b\u767a<\/strong>\uff1aNest.js\u306f\u3001\u6700\u521d\u306eMVP\uff08\u203b\u6ce8\u91c8\uff1a\u6a5f\u80fd\u3092\u6700\u4f4e\u9650\u306b\u3057\u305f\u8a66\u4f5c\u54c1\uff09\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u5b9f\u969b\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306e\u624b\u9593\u306e\u524a\u6e1b\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002Nest.js\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3059\u3050\u306b\u4f5c\u696d\u3092\u958b\u59cb\u3067\u304d\u308b\u5f37\u56fa\u306a\u69cb\u9020\u3068\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u304c\u624b\u306b\u5165\u308a\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u5411\u4e0a\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3>\u77ed\u6240<\/h3>\n<p>\u3069\u3093\u306a\u512a\u308c\u305f\u30c4\u30fc\u30eb\u306b\u3082\u8ab2\u984c\u304c\u3042\u308b\u3082\u306e\u3067\u3001Nest.js\u3082\u4f8b\u5916\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u308c\u3067\u306f\u3001Nest.js\u306e\u77ed\u6240\u3082\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>\u521d\u5fc3\u8005\u306b\u306f\u96e3\u3057\u3044<\/strong>\uff1aNest.js\u306f\u3001Angular\u306e\u57fa\u790e\u77e5\u8b58\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u99c6\u3051\u51fa\u3057\u306e\u958b\u767a\u8005\u304c\u5b66\u3073\u30de\u30b9\u30bf\u30fc\u3059\u308b\u306b\u306f\u5c11\u3057\u96e3\u3057\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3055\u3089\u306b\u3001\u3059\u3079\u3066\u306eJavaScript\u958b\u767a\u8005\u304cTypeScript\u3092\u4f7f\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u304c\u30cd\u30c3\u30af\u306b\u306a\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002\u4ed6\u306e\u6280\u8853\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u7fd2\u5f97\u3059\u308b\u306b\u306f\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30c7\u30d0\u30c3\u30b0\u304c\u5927\u5909<\/strong>\uff1aTypeScript\u306b\u306f\u305f\u304f\u3055\u3093\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u7279\u306bTypeScript\u3092\u4f7f\u3044\u59cb\u3081\u305f\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u306f\u3001\u30c7\u30d0\u30c3\u30b0\u306e\u82e6\u52b4\u304c\u591a\u304f\u306a\u308b\u70b9\u306f\u5426\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<p>Nest.js\u306e\u9577\u6240\u3068\u77ed\u6240\u3001\u305d\u3057\u3066\u305d\u308c\u3089\u304c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u9078\u629e\u3059\u308b\u969b\u306e\u610f\u601d\u6c7a\u5b9a\u306b\u3069\u306e\u3088\u3046\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u306b\u3001Nest.js\u3092\u4f7f\u3063\u3066RESTful\u306aAPI\u3092\u69cb\u7bc9\u3059\u308b\u4f8b\u3092\u4f7f\u3063\u3066\u3001\u3053\u308c\u307e\u3067\u306b\u5b66\u3093\u3060\u5185\u5bb9\u3092\u56fa\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002ToDo\u30ea\u30b9\u30c8\u958b\u767a\u65b9\u6cd5\u3092\u6271\u3044\u307e\u3059\u3002<\/p>\n<h2>\u6700\u521d\u306eNest.js RESTful API\u3092\u69cb\u7bc9\u3059\u308b<\/h2>\n<p>Nest.js\u306e\u6027\u80fd\u3068\u30b7\u30f3\u30d7\u30eb\u3055\u3092\u5b9f\u8a3c\u3059\u308b\u305f\u3081\u306b\u3001RESTful API\u3092\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002Nest.js\u306b\u3064\u3044\u3066\u5b66\u3093\u3060\u57fa\u790e\u3092\u5b9f\u8df5\u3067\u6d3b\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/install-nest\/\">\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>1. Nest.js\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n<p>\u307e\u305aNest CLI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">npm i -g @nestjs\/cli<\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">nest new nest-todo-api\ncd nest-todo-api\nnpm run start:dev<\/code><\/pre>\n<p>\u3053\u308c\u3067Nest CLI\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u304c\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001API\u3092\u69cb\u7bc9\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u304a\u597d\u307f\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<code>localhost:3000<\/code> \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3059\u30a6\u30a7\u30eb\u30ab\u30e0\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001<a href=\"https:\/\/kinqsta.com\/blog\/what-is-mongodb\/\" rel=\"noopener\">MongoDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a>\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u306eToDo\u30c7\u30fc\u30bf\u3092\u63a5\u7d9a\u3057\u3066\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067API\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u3059\u3079\u3066\u751f\u6210\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-bash\">nest generate module todos\nnest generate controller todos\nnest generate service todos<\/code><\/pre>\n<h3>2. MongoDB\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n<p>\u6b21\u306b\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/mongodb-vs-mysql\/\">MongoDB<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u306b MongoDB \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u4eca\u56de\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306bMongoose\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">npm install --save @nestjs\/mongoose mongoose<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068MongoDB\u3068\u306e\u901a\u4fe1\u3092\u78ba\u7acb\u3059\u308b\u305f\u3081\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u3066Mongoose\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306e\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u524d\u306b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30e2\u30b8\u30e5\u30fc\u30eb\u30d5\u30a1\u30a4\u30eb\u306bMongoose\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-js\">import { Module } from '@nestjs\/common';\nimport { AppController } from '.\/app.controller';\nimport { AppService } from '.\/app.service';\nimport { MongooseModule } from '@nestjs\/mongoose';\nimport { TodosModule } from '.\/todos\/todos.module';\n\n@Module({\n  imports: [MongooseModule.forRoot('mongodb:\/\/localhost\/todos), TodosModule],\n  controllers: [AppController],\n  providers: [AppService],\n})\nexport class AppModule {}<\/code><\/pre>\n<h4>3. \u30b9\u30ad\u30fc\u30de\u306e\u30d3\u30eb\u30c9<\/h4>\n<p>\u6b21\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u308a\u307e\u3059\u3002\u3053\u306e\u30b9\u30ad\u30fc\u30de\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u3067\u30c7\u30fc\u30bf\u3092\u3069\u306e\u3088\u3046\u306b\u8868\u73fe\u3059\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><strong>todos.schema.ts<\/strong>\u30d5\u30a1\u30a4\u30eb\u3067\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ts\">import * as mongoose from 'mongoose';\nexport const ItemSchema = new mongoose.Schema({\n  title: String,\n  is_completed: Boolean,\n  description: String,\n});<\/code><\/pre>\n<h4>4. \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5b9a\u7fa9<\/h4>\n<p>\u6b21\u306b\u3001\u578b\u30c1\u30a7\u30c3\u30af\u306e\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<p><strong>interfaces\/todo.interface.ts<\/strong>\u30d5\u30a1\u30a4\u30eb\u3067\u5b9a\u7fa9\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-ts\">import { Document } from 'mongoose';\nexport interface Item extends Document {\n  id?: string;\n  title: string;\n  description?: string;\n  is_completed: boolean;\n}<\/code><\/pre>\n<h4>5. DTO\u306e\u4f5c\u6210<\/h4>\n<p>\u6700\u5f8c\u306b\u3001DTO\uff08Data Transfer Object\uff1a\u30c7\u30fc\u30bf\u8ee2\u9001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u3092\u4f5c\u308a\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u30c7\u30fc\u30bf\u3092\u3069\u306e\u3088\u3046\u306b\u9001\u3063\u305f\u308a\u6e21\u3057\u305f\u308a\u3059\u308b\u304b\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30ad\u30fc\u30de\u3068\u540c\u3058\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3064\u57fa\u672c\u7684\u306a\u30af\u30e9\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ts\">\/\/ .\/dto\/create-todo.ts\nexport class CreateItemDto {\n  readonly title: string;\n  readonly description: string;\n  readonly is_completed: boolean;\n}<\/code><\/pre>\n<h3>6. \u30e2\u30c7\u30eb\/\u30b5\u30fc\u30d3\u30b9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n<p>\u30b5\u30fc\u30d3\u30b9\u30d5\u30a1\u30a4\u30eb\u306fMongoDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u306e\u3084\u308a\u53d6\u308a\u3092\u884c\u3044\u307e\u3059\u3002\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f<code>todos<\/code>\u30b9\u30ad\u30fc\u30de\u304b\u3089\u30ec\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3001\u53d6\u5f97\u3001\u66f4\u65b0\u3001\u524a\u9664\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-ts\">import { Injectable } from '@nestjs\/common';\nimport { Todo } from '.\/interfaces\/todo.interface';\nimport { Model } from 'mongoose';\nimport { InjectModel } from '@nestjs\/mongoose';\nimport { CreateTodoDto } from '.\/dto\/create-todo.dto';\n\n@Injectable()\n\nexport class ItemsService {\n  constructor(@InjectModel('Todo') private readonly todoModel: Model) {}\n  async findAll(): Promise&lt;Todo[]&gt; {\n    return await this.todoModel.find();\n  }\n  async findOne(id: string): Promise {\n    return await this.todoModel.findOne({ _id: id });\n  }\n  async create(item: CreateItemDto): Promise {\n    const newTodo = new this.todoModel(item);\n    return await newTodo.save();\n  }\n  async delete(id: string): Promise {\n    return await this.todoModel.findByIdAndRemove(id);\n  }\n  async update(id: string, todo: CreateTodoDto): Promise {\n    return await this.todoModel.findByIdAndUpdate(id, todo, { new: true });\n  }\n}<\/code><\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u306f\u3001<a href=\"https:\/\/mongoosejs.com\/docs\/models.html\" target=\"_blank\" rel=\"noopener noreferrer\">Mongoose\u30e2\u30c7\u30eb<\/a>\u3092\u4f7f\u3063\u3066MongoDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u78ba\u4fdd\u3059\u308b\u3001API\u306eCRUD\uff08\u4f5c\u6210\u3001\u8aad\u307f\u8fbc\u307f\u3001\u66f4\u65b0\u3001\u524a\u9664\uff09\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u3059\u3079\u3066\u306e\u30ed\u30b8\u30c3\u30af\u3092\u51e6\u7406\u3057\u3001\u4e0a\u8a18\u3067\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u3068\u901a\u4fe1\u3059\u308b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>7. \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u8a2d\u5b9a<\/h3>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306f\u53d7\u4fe1\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3057\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p><code>Todo<\/code>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u5b9a\u7fa9\u3057\u307e\u3057\u3087\u3046\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-js\">import {\n  Controller,\n  Get,\n  Post,\n  Put,\n  Delete,\n  Body,\n  Param,\n} from '@nestjs\/common';\nimport { CreateTodoDto } from '.\/dto\/create-todo.dto';\nimport { TodosService } from '.\/todos.service';\nimport { Todo } from '.\/interfaces\/todo.interface';\n\n@Controller('items')\n\nexport class ItemsController {\n  constructor(private readonly todosService: TodosService) {}\n\n  @Get()\n  findAll(): Promise&lt;Todo[]&gt; {\n    return this.todosService.findAll();\n  }\n  \n  @Get(':id')\n  findOne(@Param('id') id): Promise {\n    return this.todosService.findOne(id);\n  }\n  \n  @Post()\n  create(@Body() createTodoDto: CreateTodoDto): Promise {\n    return this.todosService.create(createTodoDto);\n  }\n  \n  @Delete(':id')\n  delete(@Param('id') id): Promise {\n    return this.todosService.delete(id);\n  }\n  \n  @Put(':id')\n  update(@Body() updateTodoDto: CreateTodoDto, @Param('id') id): Promise {\n    return this.todosService.update(id, updateTodoDto);\n  }\n}<\/code><\/pre>\n<p>\u4f8b\u3048\u3070\u3001RESTful API\u306ePut\u3001Delete\u3001Post\u3001Get\u306e\u5404\u30eb\u30fc\u30c8\uff08<code>@Put()<\/code>,<code>@Delete()<\/code>,<code>@Post()<\/code>,<code>@Get()<\/code>\uff09\u306b\u305d\u308c\u305e\u308c\u5bfe\u5fdc\u3059\u308b\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3092\u51e6\u7406\u3057\u307e\u3059\u3002<\/p>\n<h3>8. Postman\u3067API\u3092\u30c6\u30b9\u30c8\u3059\u308b<\/h3>\n<p>\u6700\u5f8c\u306b\u3001\u4f5c\u6210\u3057\u305f\u3070\u304b\u308a\u306eAPI\u3092Postman\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u672c\u756a\u30b5\u30fc\u30d0\u30fc\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u524d\u306b\u3001\u958b\u767a\u7528\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3066\u3059\u3079\u3066\u304c\u554f\u984c\u306a\u304f\u6a5f\u80fd\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">npm run start:dev<\/code><\/pre>\n<p><a href=\"https:\/\/www.postman.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Postman<\/a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308c\u3070\u3001RESTful API\u3092\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_127252\" aria-describedby=\"caption-attachment-127252\" style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-127252 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/06\/todo-nest.png\" alt=\"Nest.js\u306eToDo\u30ea\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\" width=\"1600\" height=\"1078\"><figcaption id=\"caption-attachment-127252\" class=\"wp-caption-text\">Nest.js\u306eToDo\u30ea\u30b9\u30c8\u306e\u5b9f\u884c\u7d50\u679c<\/figcaption><\/figure>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Nest.js\u306f\u5f37\u529b\u306aNode.js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308a\u3001TypeScript\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u9078\u629e\u80a2\u3068\u3057\u3066\u73fe\u5728\u975e\u5e38\u306b\u9ad8\u3044\u4eba\u6c17\u3092\u8a87\u308a\u307e\u3059\u3002<\/p>\n<p>Nest.js\u306f\u6a19\u6e96\u7684\u306a\u958b\u767a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u696d\u754c\u306e<a href=\"https:\/\/kinqsta.com\/jp\/blog\/web-design-best-practices\/\">\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/a>\u306e\u63a1\u7528\u3092\u5f8c\u62bc\u3057\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u7e70\u308a\u8fd4\u3057\u306e\u767a\u751f\u3059\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u30d7\u30ed\u30bb\u30b9\u3092\u6574\u7406\u3057\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306e\u958b\u767a\u306b\u96c6\u4e2d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5229\u70b9\u306b\u3088\u308a\u3001Adidas\u3084Roche\u306a\u3069\u306e\u4e16\u754c\u7684\u4f01\u696d\u304c\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u6d3b\u7528\u3059\u308b\u306b\u81f3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Nest.js\u306e\u57fa\u790e\u3068\u3001\u305d\u308c\u3078\u306e\u4e57\u308a\u63db\u3048\u304c\u691c\u8a0e\u306b\u5024\u3059\u308b\u7406\u7531\u3092\u3054\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u3055\u3089\u306b\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9b45\u529b\u3092\u808c\u3067\u611f\u3058\u308b\u305f\u3081\u306b\u3001\u30b7\u30f3\u30d7\u30eb\u306aToDo\u30b7\u30b9\u30c6\u30e0\u3092RESTful\u3067\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Nest.js\u3092\u4eca\u5f8c\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5c0e\u5165\u3059\u308b\u304b\u3069\u3046\u304b\u662f\u975e\u3054\u691c\u8a0e\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u898f\u6a21\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7ba1\u7406\u306f\u7c21\u5358\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 &#8230;<\/p>\n","protected":false},"author":193,"featured_media":55740,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[777],"class_list":["post-55739","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-javascript-frameworks"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac<\/title>\n<meta name=\"description\" content=\"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac\" \/>\n<meta property=\"og:description\" content=\"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-11T09:45:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-01T19:44:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Solomon Eseme\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@kaperskyguru\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Solomon Eseme\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\"},\"author\":{\"name\":\"Solomon Eseme\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/51c9c77fa35cf1ef9a46308358441ab2\"},\"headline\":\"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac\",\"datePublished\":\"2024-03-11T09:45:06+00:00\",\"dateModified\":\"2025-10-01T19:44:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\"},\"wordCount\":291,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\",\"name\":\"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\",\"datePublished\":\"2024-03-11T09:45:06+00:00\",\"dateModified\":\"2025-10-01T19:44:57+00:00\",\"description\":\"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinqsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\",\"item\":\"https:\/\/kinqsta.com\/jp\/topics\/javascript-frameworks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinqsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/51c9c77fa35cf1ef9a46308358441ab2\",\"name\":\"Solomon Eseme\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1c701993f8ff8c8df2a4c5664834a4e5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1c701993f8ff8c8df2a4c5664834a4e5?s=96&d=mm&r=g\",\"caption\":\"Solomon Eseme\"},\"description\":\"I am a Software Engineer and Content Creator who is geared toward building high-performing and innovative products following best practices and industry standards. I also love writing about it at Masteringbackend.com. Follow me on Twitter, LinkedIn, and About Me\",\"sameAs\":[\"https:\/\/masteringbackend.com\",\"https:\/\/linkedin.com\/in\/solomoneseme\",\"https:\/\/x.com\/kaperskyguru\"],\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/author\/solomoneseme\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac","description":"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/","og_locale":"ja_JP","og_type":"article","og_title":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac","og_description":"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002","og_url":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2024-03-11T09:45:06+00:00","article_modified_time":"2025-10-01T19:44:57+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","type":"image\/jpeg"}],"author":"Solomon Eseme","twitter_card":"summary_large_image","twitter_description":"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002","twitter_image":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","twitter_creator":"@kaperskyguru","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Solomon Eseme","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#article","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/"},"author":{"name":"Solomon Eseme","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/51c9c77fa35cf1ef9a46308358441ab2"},"headline":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac","datePublished":"2024-03-11T09:45:06+00:00","dateModified":"2025-10-01T19:44:57+00:00","mainEntityOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/"},"wordCount":291,"commentCount":0,"publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/","url":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/","name":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","datePublished":"2024-03-11T09:45:06+00:00","dateModified":"2025-10-01T19:44:57+00:00","description":"Nest.js\u306f\u3001\u958b\u767a\u8005\u306e\u751f\u7523\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3001\u8efd\u91cf\u304b\u3064\u5f37\u529b\u306aJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinqsta.com\/jp\/blog\/nestjs\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#primaryimage","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2024\/03\/nestjs.jpg","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinqsta.com\/jp\/blog\/nestjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinqsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"JavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af","item":"https:\/\/kinqsta.com\/jp\/topics\/javascript-frameworks\/"},{"@type":"ListItem","position":3,"name":"Nest.js\u3068\u306f\u2500\u8efd\u91cfJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u57fa\u672c\u3092\u89e3\u8aac"}]},{"@type":"WebSite","@id":"https:\/\/kinqsta.com\/jp\/#website","url":"https:\/\/kinqsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinqsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinqsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinqsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/51c9c77fa35cf1ef9a46308358441ab2","name":"Solomon Eseme","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1c701993f8ff8c8df2a4c5664834a4e5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1c701993f8ff8c8df2a4c5664834a4e5?s=96&d=mm&r=g","caption":"Solomon Eseme"},"description":"I am a Software Engineer and Content Creator who is geared toward building high-performing and innovative products following best practices and industry standards. I also love writing about it at Masteringbackend.com. Follow me on Twitter, LinkedIn, and About Me","sameAs":["https:\/\/masteringbackend.com","https:\/\/linkedin.com\/in\/solomoneseme","https:\/\/x.com\/kaperskyguru"],"url":"https:\/\/kinqsta.com\/jp\/blog\/author\/solomoneseme\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/55739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/users\/193"}],"replies":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/comments?post=55739"}],"version-history":[{"count":7,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/55739\/revisions"}],"predecessor-version":[{"id":56013,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/55739\/revisions\/56013"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/de"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/es"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/translations\/jp"},{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/55739\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media\/55740"}],"wp:attachment":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media?parent=55739"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/tags?post=55739"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/topic?post=55739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}