Check out a free preview of the full Introduction to Serverless Functions course

The "Wrapping Up" Lesson is part of the full, Introduction to Serverless Functions course featured in this preview video. Here's what you'd learn in this lesson:

Jason wraps up the course, shares resources to take learning about serverless function further, and explains that for the majority of the work done on the web, there is a possibility to refactor or greenfield code using serverless functions.


Transcript from the "Wrapping Up" Lesson

>> The sky is really the limit. If you start thinking about the work that you're doing on servers now with what you're doing with your API. And you can even do things like if you wanna run an express server, there's an express lambda server, where you can set up an express server as a server less function.

So if you have a node app that you wanna migrate over, an easy path could be to use your Express app as a lambda. You can do the same thing with GraphQL like GraphQL serverless. You can run a GraphQL endpoint on there, I think it was actually called lambda.

Yeah, so you can deploy Apollo server Lambda, if you wanna run a GraphQL endpoint off of a serverless function. There are a whole bunch of things that you can do, and the limits start to be more around shifting your thinking to serverless than around the practicality of it, it's definitely gonna work, or almost definitely gonna work.

As a developer, I think I have to always preface everything with well, it depends, there's a chance this isn't gonna work. But for the majority of use cases, for the majority of things that we're doing on the web, for the majority of things that we're doing with servers and processing data, there's probably a path forward with serverless that would give you some opportunities to do some really exciting stuff.

And in most cases, you'd be able to bring a lot of what you're already doing to that world. You just get to eliminate a lot of that server management. You get to eliminate the boilerplate, the DevOps, the routing and the kind of headache of configuration of getting all of these things set up and tuned in scaling.

You get to skip past that part and go straight to the fun part, which is writing the logic and making your apps do cool things. Because you're trusting a huge cloud provider to manage all of that scaling and DevOps stuff. That's what they're good at, they're the best in the world.

They hire people and hundreds of thousands of dollars a year to make this stuff work. So we can trust them to keep that stuff running. And we can focus on the parts that make our apps and our businesses function, the actual business logic. And that's why I think that's what makes serverless such an exciting technology for me.

And why I think it's such a powerful thing that we can do and use to really power up the things that we build and to unlock some pretty exciting possibilities without having to scale up to a full team or multiple teams to build this stuff. You as a solo developer can use this technology to build so much, to accomplish virtually unlimited things, right?

Because you're not having to manage so many things. You're just writing some JavaScript. So I think that's what got me excited about it. And that's why it's what I kind of reach for when I start building any new app. I'm looking at, use that jam stack approach on the front end, try to limit the front end to be just some static files.

And for the API side, I wanna use serverless functions for as long as I can. There are so many good cloud based options for custom data. We use Hasura today, the examples that I showed for stripe use fauna. Strapping is another good option. is another good option, these cloud hosted kind of data or content management solutions where they're really flexible.

You can do whatever you want with them. And then there are all these specialized software as a service platform, Stripe is a great example. They do one thing and they do it extremely well. And they do it through an API service. So we just use a serverless function to talk to Stripe's API.

We get amazing apps out of that. I think I've talked a lot about this. I'm very excited about it. I don't know if you can tell. And I'm really, really excited to see what you can build with it. So if anybody has questions, please hit me with them.

If you don't have questions, please send me your ideas. I wanna know what you're gonna build. Send me the apps that you build with this stuff. Because I wanna see it. I wanna see what you're coming up with.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now