illustration for Transform Local JavaScript Functions into Serverless API Endpoints

Transform Local JavaScript Functions into Serverless API Endpoints


Lukas Ruebbelke
1h 19m closed-captioning
9 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
people completed
Published 2 years ago
Updated 2 years ago

If you are a JavaScript developer, it is safe to assume that you have written more JavaScript functions than you can remember.

How are those functions being consumed?

Most functions are written to exist within a particular and limited scope.

What if you needed to expose that function to another team or even the world?

Historically, this would introduce an incredible amount of complexity as you try to navigate the logistics of spinning up an infrastructure to handle such a request. The amount of time, capital, and skills required to extend a function generally was just too prohibitive and overwhelming to allow the idea to go much further than a thought exercise.

Serverless has leveled the playing field by orchestrating all of the infrastructure needed to expose a function as an API on our behalf. As a result, the distance between a function and an endpoint no longer feels like traversing a canyon but more like crossing the street. 🚠

Most frontend developers have an incredibly superficial understanding of how deploying projects actually work and, as a result, are limited to their ability to surface functionality in a meaningful and consumable way.

In this course, you are going to prove that the distance between function and endpoint is not nearly as far as one would think and you'll realize that you already have the core skillsets to create and deploy powerful APIs into the cloud.

decoupling functions

Lukas will show you how to make the connection between function and endpoint in a few concrete and practical steps. It will help you bridge the pain point between knowing how to write functions but being incapable of deploying them for consumption.

When you are finished, you will look at a function and say to yourself, "Hey! I can deploy that!"

Because if you can expand your perception of possibilities beyond your local environment and into the cloud, all sorts of interesting things for your career start to emerge on the horizon. :)

What you'll learn:

  • Generate Lambda functions with the Serverless framework
  • Use Webhooks to integrate serverless functions with external services
  • Integrate other AWS services into your Serverless functions
  • Create Lambda step functions using the AWS console
  • Generate PDFs, create mock APIs, and scrape webpages!

Course Content

1h 19m • 9 lessons

    You might also like these resources:

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

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout
    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use
    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.