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 powerful solutions for serving API endpoints. With Functions, you can shift your APIs to serverless architecture and not worry about server setup or maintenance.

You might also be able to reduce the cost of an always-on server and improve scalability by replacing the Node.js Express server with the Functions app. Ultimately, with Functions you focus on the code, not the servers.

Note

To deploy the Functions app to the cloud, see the tutorial Manage Azure resource groups with TypeScript Function API. You can use a free Azure account and the Azure Functions extension for Visual Studio Code to deploy the application.

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

Other resources

To learn more about Functions, Visual Studio Code, and debugging, see the following resources:

Visual Studio Code

Functions

Debugging resources