Hello everyone! In this post, we’ll walk through the process of uploading your first Node.js code to Azure. Whether you’re new to Azure or just need a refresher, this guide will help you deploy your Node.js application with ease.
Prerequisites
Before we begin, ensure you have the following:
Node.js Installed: Make sure you have Node.js installed on your machine. You can download it from Node.js official website.
Azure Account: If you haven’t already, sign up for an Azure account at azure.com.
Git Installed: You’ll need Git to manage your code and push it to Azure.
Step 1: Create a Simple Node.js Application
Create one simple Node.js application and upload to github
Step 2: Prepare for Deployment
- Login to azure
- Click on App Services and click Create
- click on create button and go to web app or click as per your requirement
- create new resource group
- Fill all necessary details and select pricing plans as per your requirement
- go next and finally click Review & Create button
- After creating you will see the overview of your app
- click on deployment center
- Here you will get FTP Creds to upload code.
In next step we will see how we can upload using github repo actions