illustration for Build a Serverless API with Cloudflare Workers
free

Build a Serverless API with Cloudflare Workers

47m closed-captioning
·
10 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
212
people completed
Published 5 years ago
|
Updated 4 years ago

Cloudflare Workers let you write JavaScript Service Workers that run directly in Cloudflare's 200+ edge locations around the world.

With a Cloudflare Worker, you can modify your site's HTTP requests and responses, make parallel requests, and even reply directly from the edge.

Cloudflare Workers are written against a similar API to the W3C Service Workers standard. However, while Service Workers run inside the end user's browser, Cloudflare Workers run on Cloudflare's servers. This means that Cloudflare Workers can implement trusted code (which the client cannot tamper with), and will work no matter what browser the user is running.

In this course, Kristian Freeman will teach you how to build and deploy a Serverless API with Cloudflare Workers. By learning how to build your own serverless JSON APIs, you can effectively manage a highly-available backend for your projects, without needing to learn DevOps or manage services.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

What you'll learn:

  • Create a Cloudflare Workers project
  • Make API requests in a Workers function
  • Process incoming request data
  • Securely store API credentials
  • Source data from Cloudflare Workers
  • Deploy application to Cloudflare Pages
  • Secure an API with Access-Control-Allow-Headers

Course Content

47m • 10 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman ・47m・Course

    Follow along with Kristian Freeman as you build a localization engine that renders data based on the Edge location nearest to the application's user.

    illustration for Build a Corgi Up-boop Web App with Netlify Serverless Functions and Hasura
    Jason Lengstorf ・1h 27m ・Course

    Starting from a prebuilt frontend, Jason Lengstorf guides you through the creation of a "Corgi Up-boop App" that uses Netlify Functions and Hasura.

    illustration for Building Serverless Web Applications with React & AWS Amplify
    Nader Dabit ・33m ・Course

    Nader goes in-depth on how to set up a React application and use AWS Amplify to make it serverless. This course may be a couple of years old but all of it still works flawlessly.