- You can view this talk at https://www.swyx.io/talks (direct link)
- Dramatically reduce the cost of creating APIs
- Your APIs don't have to be serverless, you can also create a stateful microservice
- Pay per execution pricing
- Never pay for idle servers
- Auto scales for you
- Event driven workflows
- Leverage third party services
Very basic Functions Tutorial: https://functions-playground.netlify.com/
Featured Use Cases
Scheduled Function Execution
- https://cron-job.org/en/
- IFTTT
- Zapier
- https://cronless.com/
- https://www.setcronjob.com/
- https://cronless.com/
- https://cronnomy.com/
- etc.
Authenticated Functions
- Netlify Identity + Netlify Functions
- Livestream: How to use Gatsby + Netlify Identity + Netlify Functions
- https://github.com/sw-yx/jamstack-hackathon-starter
- https://identity.netlify.com/ (react version)
- JWT vs Sessions vs Paseto
- Okta
- Auth0
Open source list of Function Examples
Learn More
- Netlify Functions Workshop https://github.com/DavidWells/netlify-functions-workshop
- Livestream: Building async serverless business logic for your GraphQL API with Hasura and @Netlify
- Flaviocopes: Netlify Lambda Functions Tutorial
- raymondcamden Camden: Adding Serverless Functions to Your Netlify Static Site
Pricing:
- details
- Free: 125k
- Level 1: 2 million
- Token-Hider
- GraphQL API
- Fauna GraphQL
more templates here: https://github.com/netlify/netlify-dev-plugin/tree/master/src/functions-templates/js/