illustration for Transform Local JavaScript Functions into Serverless API Endpoints

Transform Local JavaScript Functions into Serverless API Endpoints

Instructor

Lukas Ruebbelke
1h 19m closed-captioning
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.9
30
people completed
Bookmark
Download
RSS

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. :)

Credits

Shakuro Graphics (illustration)

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!

Learner Reviews

  • mathias gheno
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I really loved that he made some real examples and combined them in the end.

  • Tal Friedman
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I’ve done a lot of courses on egghead. I think this has to be the best! Great practical examples coupled with a really clear mental model and great perspective. Can’t recommend enough!

  • Jon Crowell
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Lukas does a great job of showing the basics of how to create serverless functions, then expands on that to show some interesting use cases. The examples may not be something you would ever use, but should serve to help you understand the power and ease of serverless development.

Course Content

1h 19m • 9 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers

    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

    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

    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.