Write a Function

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Write a Function

stefan judis

June 24, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

59 slides
  1. @stefanjudis netlify.com zeit.co (there are way more services out there...)

    Everything changes with serverless... #JAMstackToronto
  2. @stefanjudis Serverless thinking: Use a service whenever possible because services

    are almost always cheaper than people. Paul Johnston #JAMstackToronto
  3. @stefanjudis Serverless is an idea, not any single implementation of

    that idea. Tierney Cyren (Microsoft) #JAMstackToronto
  4. @stefanjudis (there are way more services out there...) You don't

    have to build everything yourself. #JAMstackToronto
  5. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; #JAMstackToronto
  6. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; That's it! #JAMstackToronto
  7. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; #JAMstackToronto

More Decks by stefan judis

Other Decks in Technology