Setting up Azure DevOps for Node.js Apps using Azure DevOps Project

Setting up Azure DevOps for Node.js Apps using Azure DevOps Project

Setting up DevOps for your Node.JS App using Azure DevOps Project is very easy and can be done just by following few steps. You can now rapidly setup DevOps project that includes Continous Integration and Continuous Delivery (CI/CD), Creating Azure resources for your Web Applications using Azure DevOps Project. Azure DevOps has everything you need to build your software product from envisioning to put in into end-users hands. Azure DevOps Project makes it very easy to get started on Setting up code repo, build, and deployment with Azure. Just by using a few quick steps, DevOps Project sets you up to everything you need for developing, deploying, and monitoring your app on Azure. 

Setting up Azure DevOps for Node.js Apps using Azure DevOps Project

The process of creating DevOps for Node.js Application is very much similar to other Azure DevOps Project creation.

  • Sign in to your Azure Subscription and select Azure DevOps Project, to create a New Project.
  • Choose Node.JS as a new application type

Once you select the application type, move to the next step and choose the framework for your solution.

Here we are choosing, Express.JS as framework for Node.js.

In the next section, the Azure DevOps Project will allow us to choose the deployment location. We can select Containers, Kubernetes Service as well as a Windows Web App for the deployment.

Let’s choose “Windows Web App” and move to the next step to provide Project and Azure Subscription details.

Once, all the information provides, Click on “Done” to create the Azure DevOps Project.

During this process, Azure DevOps creates all the necessary Azure Resources GroupGit Code Repository, Create CI and CD, and everything else that creates a basic version of the web application, take source code from Git, and deploys on a container.

From the dashboard, Navigate to Build pipeline when you can review the tasks created for the building your Node Apps, by the Azure DevOps Project.

From the dashboard, Navigate to Release pipeline when you can review the stages “dev” created for the deployment by the Azure DevOps Project.

Related Post: Connecting AWS with Azure DevOps

If you want to review and check the Azure tasks that are being used to perform the deployments, you can edit the CD Pipelines. The Azure App Service Task has all the details for the resources created for this web application.

Further, You can take this code to your favorite editors such as Visual Studio Code, or Visual Studio for further development, and as soon as you push the changes, it will be deployed through the release pipelines.

Finally, Azure DevOps Project is a very powerful service that helps to create a new project setup rapidly for everything that you need in Azure DevOps. This entire setup can be done under 5 min! Which can be then extended and used across in a newly created Azure DevOps Projects.

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.