{"type":"rich","image_url":null,"blog_url":"https://castaneai.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/castaneai/","height":"190","blog_title":"castaneai\u306e\u30d6\u30ed\u30b0","published":"2018-07-04 22:09:55","categories":["gcp","google app engine","nodejs"],"provider_name":"Hatena Blog","url":"https://castaneai.hatenablog.com/entry/2018/07/04/220955","version":"1.0","title":"Node.js Standard on Google App Engine \u306f\u3058\u3081\u3066\u89e6\u3063\u305f","provider_url":"https://hatena.blog","author_name":"castaneai","description":"\u4f55\u3082\u306a\u3044\u72b6\u614b\u304b\u3089 AppEngine \u306b\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u307e\u3067\u306e\u6d41\u308c npm init npm install --save express vim app.js # \u7c21\u5358\u306a express \u306e\u30b5\u30f3\u30d7\u30eb\u66f8\u304f echo 'runtime: nodejs8' > app.yaml gcloud app deploy \u3053\u308c\u3060\u3051\u3067 Hello, World \u3067\u304d\u305f\uff01\u3059\u3054\u3044\u306f\u3084\u3044\uff01\u30b7\u30f3\u30d7\u30eb\uff01 \u66f8\u304f\u307e\u3067\u3082\u306a\u3055\u305d\u3046\u3060\u3051\u3069\u3001app.js \u306e\u4e2d\u8eab\u306f\u3053\u3061\u3089 const express = require('express'); const app = express(); app.get('/', (req, res)\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcastaneai.hatenablog.com%2Fentry%2F2018%2F07%2F04%2F220955\" title=\"Node.js Standard on Google App Engine \u306f\u3058\u3081\u3066\u89e6\u3063\u305f - castaneai\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}