Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API になろう / Let's become an API

Pちゃん
December 18, 2019

API になろう / Let's become an API

Pちゃん

December 18, 2019
Tweet

More Decks by Pちゃん

Other Decks in Programming

Transcript

  1. Ͱ

  2. Puppeteer ࢖͏ͳΒσϓϩΠઌ͸Α͘ߟ͑Α͏ w ZEIT Nowɺv2͔Β͸FaaSతͳײ͡ʹͳͬͨͷͰɺ͋Μ ·ΓϔουϨεϒϥ΢βΛͿΜճ͢Έ͍ͨͳέʔεΛ૝ఆ ͞Ε͍ͯͳ͍ɻλΠϜΞ΢τ͕10 ඵɻ ՝ۚͰ5 ෼ʹ

     w ͓ͱͳ͘͠GAE/SE λΠϜΞ΢τ60ඵ ͱ͔ɺGoogle Cloud Functions λΠϜΞ΢τ540ඵ ͱ͔࢖ͬͨ΄͏͕ ྑ͍ w ͨͿΜP-Chan API͸ɺ͖͡ʹ৐Γ׵͑Δ
  3. vs TypeORM (2/2) w Photon JS ORM૚ Lift JS Migration૚

    ͕ಠཱͯ͠ ಈ͘ͱ͍͏ͷ͸NodeͬΆͯ͘޷͖ʢ޷Έͷ໰୊ w ԿΑΓɺ·ͩv0.xͰ͋ΓProductionͰͷ࢖༻͸ਪ঑͞ Ε͍ͯͳ͍ͷͰɺશମతʹࠓޙʹظ଴ͱ͍͏ײ͡ w ʢTypeScript Ͱॻ͚ΔORM͕ͦΜͳʹଟ͘ͳ͍தͰɺ બ୒ࢶ͕૿͑Δ͜ͱࣗମɺ݁ߏՁ஋͕͋Γͦ͏ʣ