Starting from a prebuilt frontend, Jason Lengstorf guides you through the creation of a “Corgi Up-boop App” that uses Netlify Functions and Hasura. You can view the deployed final product on Netlify.
You’ll set up the Netlify CLI, and configure a local development environment before writing and deploying functions with a few different use cases.
The first example function bypasses CORS restrictions to retrieve corgi data from an example third-party API.
Next, you’ll configure environmental variables to securely communicate with the Unsplash API without exposing private keys to the client.
Serverless functions don’t persist data by themselves, so we will use Hasura to create a GraphQL API for tracking the number of “boops” each corgi receives.
This course is an excellent illustration of the speed of Serverless functions, and how fast you can implement functionality in your web applications.
Updated 3 months ago