{"id":14220,"date":"2021-07-16T11:40:22","date_gmt":"2021-07-16T02:40:22","guid":{"rendered":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=14220"},"modified":"2021-07-16T11:40:22","modified_gmt":"2021-07-16T02:40:22","slug":"next-js%e3%81%a8vercel%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%8b%e3%82%89sendgrid%e3%81%a7%e3%83%a1%e3%83%bc%e3%83%ab%e9%80%81%e4%bf%a1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=14220","title":{"rendered":"Next.js\u3068Vercel\u3067\u4f5c\u3063\u305f\u30d5\u30a9\u30fc\u30e0\u304b\u3089SendGrid\u3067\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>SendGrid\u30b5\u30dd\u30fc\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e<a href=\"https:\/\/twitter.com\/kikutaro_\" rel=\"noopener\" target=\"_blank\">@kikutaro_<\/a>\u3067\u3059\u3002\u6700\u8fd1\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u6280\u8853\u3092\u89e6\u308b\u3068\u304d\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u5148\u3068\u3057\u3066\u300c<a href=\"https:\/\/nextjs.org\/\" rel=\"noopener\" target=\"_blank\">Vercel<\/a>\u300d\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Next.js\u3084Nust.js\u306a\u3069\u3067\u4f5c\u3063\u305f\u30a2\u30d7\u30ea\u3092\u7c21\u5358\u306b\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u3066\u3001<a href=\"https:\/\/vercel.com\/docs\/serverless-functions\/introduction\" rel=\"noopener\" target=\"_blank\">\u30b5\u30fc\u30d0\u30ec\u30b9\u6a5f\u80fd\u3082\u5099\u3048\u3066\u3044\u308b<\/a>\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u30d6\u30ed\u30b0\u3067\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u306e\u304a\u554f\u5408\u305b\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u308a\u307e\u3059\u3002Next.js\u3067\u30d5\u30a9\u30fc\u30e0\u3068\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd(SendGrid\u3092\u5229\u7528)\u3092\u5b9f\u88c5\u3057\u3066Vercel\u4e0a\u3067\u52d5\u304b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/1.jpeg\" alt=\"Next.js\u3068Vercel\u3067\u4f5c\u3063\u305f\u30d5\u30a9\u30fc\u30e0\u304b\u3089SendGrid\u3067\u30e1\u30fc\u30eb\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\" width=\"100%\" class=\"aligncenter size-full wp-image-14221\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/1.jpeg 1109w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/1-300x207.jpeg 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/1-768x530.jpeg 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/1-1024x707.jpeg 1024w\" sizes=\"(max-width: 1109px) 100vw, 1109px\" \/><\/p>\n<h3>\u74b0\u5883\u6e96\u5099<\/h3>\n<p>Node.js 12\u4ee5\u4e0a\u304c\u5165\u3063\u305f\u74b0\u5883\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u8a18\u4e8b\u3067\u306fDocker\u4e0a\u306eAlpine Linux\u306bNode.js 14.17.1\u3092\u5165\u308c\u305f\u74b0\u5883\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u6700\u521d\u306bNext.js\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnpx create-next-app\r\n<\/pre>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306f\u81ea\u7531\u3067\u3059\u3002\u3053\u3053\u3067\u306fvercelform\u3068\u540d\u3065\u3051\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/2.png\" alt=\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u300cvercelform\u300d\u306b\u8a2d\u5b9a\" width=\"100%\" class=\"aligncenter size-full wp-image-14222\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/2.png 872w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/2-300x46.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/2-768x118.png 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/p>\n<p>\u5b8c\u4e86\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyarn dev\r\n<\/pre>\n<p><a href=\"http:\/\/localhost:3000\/\" rel=\"noopener\" target=\"_blank\">http:\/\/localhost:3000\/<\/a> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u74b0\u5883\u306e\u6e96\u5099\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/3.png\" alt=\"http:\/\/localhost:3000\/ \u306b\u30a2\u30af\u30bb\u30b9\" width=\"100%\" class=\"aligncenter size-full wp-image-14223\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/3.png 1208w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/3-295x300.png 295w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/3-768x781.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/3-1007x1024.png 1007w\" sizes=\"(max-width: 1208px) 100vw, 1208px\" \/><\/p>\n<h3>\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u306e\u5b9f\u88c5<\/h3>\n<p>Web\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u308b\u524d\u306b\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067SendGrid\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u74b0\u5883\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnpm install --save @sendgrid\/mail\r\n<\/pre>\n<p>\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u306fWeb API\u3068\u3057\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306epages\/api\u306e\u914d\u4e0b\u306bsend.js\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/4.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306epages\/api\u306e\u914d\u4e0b\u306bsend.js\u3092\u4f5c\u6210\" width=\"40%\" class=\"aligncenter size-full wp-image-14224\" \/><\/p>\n<p>send.js\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u53cd\u6620\u3057\u307e\u3059\u30024\u884c\u76ee\u306e\u300cSG.xxx\u300d\u306f<a href=\"https:\/\/sendgrid.kke.co.jp\/docs\/User_Manual_JP\/Settings\/api_keys.html#-Create-an-API-Key\" rel=\"noopener\" target=\"_blank\">SendGrid\u3067\u767a\u884c\u3057\u305fAPI\u30ad\u30fc<\/a>\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30026\uff5e12\u884c\u76ee\u3067\u30d5\u30a9\u30fc\u30e0\u306b\u767b\u9332\u3055\u308c\u305f\u5b9b\u5148(req.body.email)\u3068\u30e1\u30c3\u30bb\u30fc\u30b8(req.body.message)\u3092\u9001\u4fe1\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u8a2d\u5b9a\u3057\u3066\u300116\u884c\u76ee\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nexport default function handler(req, res) {  \r\n    if(req.method === 'POST') {\r\n      const sgMail = require('@sendgrid\/mail');\r\n      sgMail.setApiKey(&quot;SG.xxx&quot;); \/\/SendGrid\u306eAPI\u30ad\u30fc\r\n      \r\n      const msg = {\r\n        to: req.body.email,\r\n        from: 'support@example.com',\r\n        subject: '\u304a\u554f\u5408\u305b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002',\r\n        text: '\u304a\u554f\u5408\u305b\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3057\u305f\u3002\u56de\u7b54\u3092\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002' + req.body.message,\r\n        html: '\u304a\u554f\u5408\u305b\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3057\u305f\u3002\u56de\u7b54\u3092\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002' + req.body.message,\r\n      };\r\n  \r\n      (async () =&gt; {\r\n        try {\r\n          await sgMail.send(msg);\r\n        } catch (error) {\r\n          console.error(error);\r\n          if (error.response) {\r\n            console.error(error.response.body)\r\n          }\r\n        }\r\n      })();\r\n    }\r\n  \r\n    res.status(200)\r\n  }\r\n<\/pre>\n<h3>\u30d5\u30a9\u30fc\u30e0\u306e\u4f5c\u6210<\/h3>\n<p>\u7d9a\u3044\u3066\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u3042\u308bpages\u914d\u4e0b\u306bform.js\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/5.png\" alt=\"pages\u914d\u4e0b\u306bform.js\u3092\u8ffd\u52a0\" width=\"40%\" class=\"aligncenter size-full wp-image-14225\" \/><\/p>\n<p>form.js\u306b\u306f\u6b21\u306e2\u3064\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d5\u30a9\u30fc\u30e0\u306eHTML<\/li>\n<li>\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3068\u304d\u306e\u51e6\u7406<\/li>\n<\/ol>\n<p>2\u3067\u306f\u5148\u307b\u3069\u4f5c\u6210\u3057\u305fAPI\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nexport default function Form() {\r\n  const registerUser = async event =&gt; {\r\n    event.preventDefault()\r\n\r\n    const res = await fetch('\/api\/send', {\r\n      body: JSON.stringify({\r\n        email: event.target.email.value,\r\n        message: event.target.message.value\r\n      }),\r\n      headers: {\r\n        'Content-Type': 'application\/json'\r\n      },\r\n      method: 'POST'\r\n    })\r\n\r\n    const result = await res.json()\r\n  }\r\n\r\n  return (\r\n    &lt;div className=&quot;container mt-5&quot;&gt;\r\n      &lt;form onSubmit={registerUser}&gt;\r\n        &lt;div className=&quot;mb-3&quot;&gt;\r\n          &lt;label htmlFor=&quot;email&quot;&gt;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&lt;\/label&gt;\r\n          &lt;input id=&quot;email&quot; name=&quot;email&quot; type=&quot;email&quot; className=&quot;form-control&quot; placeholder=&quot;name@example.com&quot;\/&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div className=&quot;mb-3&quot;&gt;\r\n          &lt;label htmlFor=&quot;message&quot; className=&quot;form-label&quot;&gt;\u554f\u5408\u305b\u5185\u5bb9&lt;\/label&gt;\r\n          &lt;textarea id=&quot;message&quot; name=&quot;message&quot; className=&quot;form-control&quot; rows=&quot;3&quot;&gt;&lt;\/textarea&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div className=&quot;mb-3&quot;&gt;\r\n          &lt;button type=&quot;submit&quot; className=&quot;btn btn-primary&quot;&gt;\u9001\u4fe1&lt;\/button&gt;\r\n        &lt;\/div&gt;\r\n      &lt;\/form&gt;\r\n    &lt;\/div&gt;\r\n  )\r\n}\r\n<\/pre>\n<p>\u4eca\u56de\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u30c7\u30b6\u30a4\u30f3\u306bBootstrap\u3092\u4f7f\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u74b0\u5883\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnpm install bootstrap@next\r\n<\/pre>\n<p>pages\u914d\u4e0b\u306b\u3042\u308b_app.js\u3067Bootstrap\u3092import\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nimport 'bootstrap\/dist\/css\/bootstrap.min.css';\r\nimport '..\/styles\/globals.css'\r\n\r\nfunction MyApp({ Component, pageProps }) {\r\n    return &lt;Component {...pageProps} \/&gt;\r\n}\r\n\r\nexport default MyApp\r\n<\/pre>\n<p><a href=\"http:\/\/localhost:3000\/form\" rel=\"noopener\" target=\"_blank\">http:\/\/localhost:3000\/form<\/a> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u5b9f\u88c5\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/6.png\" alt=\"http:\/\/localhost:3000\/form \u306b\u30a2\u30af\u30bb\u30b9\" width=\"100%\" class=\"aligncenter size-full wp-image-14226\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/6.png 980w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/6-300x127.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/6-768x324.png 768w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/p>\n<p>\u8868\u793a\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30e0\u306b\u5165\u529b\u3057\u3066\u30e1\u30fc\u30eb\u304c\u5c4a\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Vercel\u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b<\/h3>\n<p>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u52d5\u304f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001<a href=\"https:\/\/vercel.com\/signup\" rel=\"noopener\" target=\"_blank\">Vercel<\/a>\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3057\u3087\u3046\u3002\u6700\u521d\u306b<a href=\"https:\/\/vercel.com\/cli\" rel=\"noopener\" target=\"_blank\">Vercel CLI<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnpm i -g vercel\r\n<\/pre>\n<p>\u7d9a\u3044\u3066vercel\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u8a8d\u8a3c\u304c\u6c42\u3081\u3089\u308c\u305f\u3089Vercel\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u8a8d\u8a3c\u5f8c\u3001\u518d\u5ea6vercel\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30c7\u30d7\u30ed\u30a4\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvercel\r\n<\/pre>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306a\u3069\u5fc5\u8981\u306a\u60c5\u5831\u3092\u5165\u529b\u3059\u308b\u3068\u30c7\u30d7\u30ed\u30a4\u304c\u884c\u308f\u308c\u3001URL\u304c\u767a\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/7.png\" alt=\"\u30c7\u30d7\u30ed\u30a4\" width=\"100%\" class=\"aligncenter size-full wp-image-14227\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/7.png 1392w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/7-300x139.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/7-768x356.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2021\/07\/7-1024x474.png 1024w\" sizes=\"(max-width: 1392px) 100vw, 1392px\" \/><\/p>\n<p>URL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3068\u540c\u3058\u753b\u9762\u30fb\u52d5\u4f5c\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u6210\u529f\u3067\u3059\u3002<\/p>\n<h3>\u304a\u308f\u308a\u306b<\/h3>\n<p>\u4eca\u56de\u306f\u30d5\u30a9\u30fc\u30e0\u3092\u4f8b\u306bNext.js\u3068Vercel\u3092\u4f7f\u3063\u3066SendGrid\u304b\u3089\u901a\u77e5\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u5b9f\u88c5\u3082\u7c21\u5358\u306b\u3067\u304d\u308b\u4ed5\u7d44\u307f\u306a\u306e\u3067\u3001\u4eca\u56de\u306e\u3088\u3046\u306b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30d5\u30a9\u30fc\u30e0\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u3092\u9023\u643a\u3059\u308b\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002\u305c\u3072\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SendGrid\u30b5\u30dd\u30fc\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e@kikutaro_\u3067\u3059\u3002\u6700\u8fd1\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u6280\u8853\u3092\u89e6\u308b\u3068\u304d\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u5148\u3068\u3057\u3066\u300cVercel\u300d\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Next.js\u3084Nust.js\u306a\u3069\u3067\u4f5c\u3063\u305f\u30a2\u30d7\u30ea\u3092\u7c21\u5358\u306b\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u3066 <a class=\"read-more\" href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=14220\">&#8230;\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":9,"featured_media":14228,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-14220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14220"}],"version-history":[{"count":4,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14220\/revisions"}],"predecessor-version":[{"id":14232,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14220\/revisions\/14232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/14228"}],"wp:attachment":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}