Summary

Completed

In this module, you refactored your Node.js Express application to Azure Functions. Now you can think less about servers, because you're using serverless!

Node.js and Express are incredibly powerful and often used for serving API endpoints. Now with serverless architecture you can shift your APIs to Azure Functions without worrying about server setup or maintenance. You can also possibly reduce your cost of an always-on server by replacing the Node.js Express server with an Azure Functions app. For all your efforts, you end up with an API that scales well.

Ultimately, with Azure Functions you focus on the code, not the servers.

Note

If you want to deploy the Azure Functions app to the cloud, you can deploy it by following this tutorial. All you need is an Azure account and then use the Azure Functions extension for Visual Studio Code to deploy it.

The solution for the sample project is on GitHub in the solution branch. The instructions on how to get started appear in the README file. You can explore running the Express app or the Azure Functions app to get a sense of the differences. Then try to apply this same shift to your code.

Additional resources

Here are several resources where you can learn more about the Azure Functions, Visual Studio Code, and other concepts covered in this module.

Visual Studio Code

Azure Functions

Debugging Resources