<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Grace Amole</title>
    <description>The latest articles on DEV Community by Grace Amole (@graceamole).</description>
    <link>https://dev.to/graceamole</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1061357%2Fefd78738-727e-4567-b823-8c113678b07a.png</url>
      <title>DEV Community: Grace Amole</title>
      <link>https://dev.to/graceamole</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/graceamole"/>
    <language>en</language>
    <item>
      <title>Deploying a Node.js App to Google Cloud Run Using Docker</title>
      <dc:creator>Grace Amole</dc:creator>
      <pubDate>Tue, 15 Jul 2025 17:26:15 +0000</pubDate>
      <link>https://dev.to/graceamole/deploying-a-nodejs-app-to-google-cloud-run-using-docker-4gh0</link>
      <guid>https://dev.to/graceamole/deploying-a-nodejs-app-to-google-cloud-run-using-docker-4gh0</guid>
      <description>&lt;p&gt;This tutorial walks through deploying a simple Node.js "Hello World" app using Docker and Google Cloud Run. It covers writing the app, containerizing it, deploying via GCP CLI, and cleaning up resources.&lt;/p&gt;

&lt;p&gt;Prerequisites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic understanding of Node.js&lt;/li&gt;
&lt;li&gt;Docker installed (if running locally)&lt;/li&gt;
&lt;li&gt;Access to Google Cloud Shell&lt;/li&gt;
&lt;li&gt;A Google Cloud Project with billing enabled&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step-by-Step Guide&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Set Up Your Node.js App&lt;br&gt;
Create a simple Express app in a file named index.js&lt;br&gt;
the file I used can be found on link. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create the Dockerfile&lt;br&gt;
In the same directory, create a file named Dockerfile with the following:  or find link in&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FROM node:12-slim

WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install --only=production

COPY . .

CMD ["npm", "start"]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will install dependencies and start the app when the container runs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build and Push the Docker Image
Run this in Cloud Shell (replace $PROJECT_ID with your actual project ID):&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;gcloud builds submit --tag gcr.io/$PROJECT_ID/helloworld&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Deploy to Cloud Run&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;gcloud run deploy helloworld \&lt;br&gt;
  --image gcr.io/$PROJECT_ID/helloworld \&lt;br&gt;
  --platform managed \&lt;br&gt;
  --region us-east4 \&lt;br&gt;
  --allow-unauthenticated&lt;br&gt;
The service will be deployed and you'll receive a URL to access it.&lt;br&gt;
App is live: &lt;a href="https://helloworld-xxxxxxxxxx-xx.run.app" rel="noopener noreferrer"&gt;https://helloworld-xxxxxxxxxx-xx.run.app&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;clean up resources 
Once you're done testing:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Delete the Cloud Run service&lt;br&gt;
gcloud run services delete helloworld --region=us-east4&lt;/p&gt;

&lt;p&gt;Delete the Docker image:&lt;br&gt;
gcloud container images delete gcr.io/$PROJECT_ID/helloworld&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to connect an asp.net webapp to a an sql database</title>
      <dc:creator>Grace Amole</dc:creator>
      <pubDate>Wed, 24 May 2023 23:25:02 +0000</pubDate>
      <link>https://dev.to/graceamole/how-to-connect-an-aspnet-webapp-to-a-an-sql-database-531f</link>
      <guid>https://dev.to/graceamole/how-to-connect-an-aspnet-webapp-to-a-an-sql-database-531f</guid>
      <description>&lt;p&gt;This is a documentation showing how to connect an asp.net app service to  an azure sql database&lt;/p&gt;

&lt;p&gt;to carry out this Project, I used the following tools&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Visual studio 2023&lt;/li&gt;
&lt;li&gt;A to do list app source code written in html , javascript and css.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To connect an asp.net web app to sql database, we will go through the following steps:&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a new project
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open visual Studio 2023 and click on new project&lt;/li&gt;
&lt;li&gt;select ASP.net core web app&lt;/li&gt;
&lt;li&gt;click on next&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BZzjDZej--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ce3kficgycrhvrghntl6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BZzjDZej--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ce3kficgycrhvrghntl6.PNG" alt="Image description" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I named the application MyFirstAzureWebApp, and then selected 
Next.&lt;/li&gt;
&lt;li&gt;Select .NET 7.0 (Standard-term support).&lt;/li&gt;
&lt;li&gt;Set Authentication to None and create as shown below&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VzXmVRSI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc7f45un4fb2ne1ufanx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VzXmVRSI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc7f45un4fb2ne1ufanx.PNG" alt="Image description" width="800" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;From the Visual Studio menu, select Debug &amp;gt; Start Without Debugging to run the web app locally. If you see a message asking you to trust a self-signed certificate, select Yes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Publish the app
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;look Solution Explorer at the left hand side , right-click the MyFirstAzureWebApp project and select Publish.&lt;/li&gt;
&lt;li&gt;In Publish, select Azure and then Next.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--M6wwY5Fp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6cn8k154z9aec1ffe2jh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--M6wwY5Fp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6cn8k154z9aec1ffe2jh.PNG" alt="Image description" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose the Specific target,  Azure App Service (Linux)  Then, select Next&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ks6QcEZa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0878hfghpwve6ddwp58j.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ks6QcEZa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0878hfghpwve6ddwp58j.PNG" alt="Image description" width="800" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To publish your app, you need an account. I signed into my account by clicking on the sign in button to use your Azure subscription.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DEmFdURu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y08ggn0n0a1tals015w2.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DEmFdURu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y08ggn0n0a1tals015w2.PNG" alt="Image description" width="800" height="608"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;For Subscription, I select the subscription already listed &lt;br&gt;
since that is the subscription I am using&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For Resource group, I select my resource group gracewebapp&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For hosting plan, I clicked on the one with my webapp name&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select Create to create the Azure resources.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once the wizard completes, the Azure resources are created for you, and you're ready to publish your ASP.NET Core project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DGbe325V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xyyokcpkcgpf0gzd8y8q.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DGbe325V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xyyokcpkcgpf0gzd8y8q.PNG" alt="Image description" width="800" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Publish dialog, ensure your new App Service app is selected, then select Finish, then select Close. Visual Studio creates a publish profile for you for the selected App Service app.&lt;/p&gt;

&lt;p&gt;In the Publish page, select Publish. If you see a warning message, select Continue.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Update the app and redeploy&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In Solution Explorer, I open Index.cshtml.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I replaced the &lt;/p&gt; element with my html ,css and javascript  code as shown below


&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ffhfjB1s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2zdbyc9kh0lk2wzsyanm.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ffhfjB1s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2zdbyc9kh0lk2wzsyanm.PNG" alt="Image description" width="800" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Save your changes.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;To redeploy to Azure, right-click the MyFirstAzureWebApp project in Solution Explorer and select Publish.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Publish summary page, select Publish.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After  a successful publishing completes, Visual Studio opens a browser with the webapp showing&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--klf2CGJH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yxi8jhvr895uiw0idap8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--klf2CGJH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yxi8jhvr895uiw0idap8.PNG" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Manage the Azure app
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Go to Azure portal , then go to appservice, look for the app MyFirstAzureWebApp&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GsyHZOn4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hndbe9j04m1a1vel4q0f.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GsyHZOn4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hndbe9j04m1a1vel4q0f.PNG" alt="Image description" width="659" height="638"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the name of the name of the app and the picture below is showed&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ws-Etf9J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67vm1ryqiyr3z3jgkifi.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ws-Etf9J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67vm1ryqiyr3z3jgkifi.PNG" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting to SQL Database
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create an sql database. I already have one from creating a web app + database&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go to your sql database, select connection string&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;navigate to ADO.net and copy the value&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L4DWpbd6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lx1qjc5ij1dsy47smsfk.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L4DWpbd6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lx1qjc5ij1dsy47smsfk.PNG" alt="Image description" width="800" height="335"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;go to the  app service you just deployed, navigate to configuration &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;click on create new connection string&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UtT5p3le--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4zgu9e18bnanyomvptsd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UtT5p3le--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4zgu9e18bnanyomvptsd.PNG" alt="Image description" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Under name, enter dbconnection&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;under value, paste the value you just copied form the sqldatabase ado.net. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;under type, select sql server.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dWnbYhhp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gw3p032s0udlrrad9a1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dWnbYhhp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gw3p032s0udlrrad9a1t.png" alt="Image description" width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;click on ok&lt;/p&gt;

&lt;p&gt;Our app service has  ben successfully connected to a Azure SQL database&lt;/p&gt;


&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>aspnet</category>
    </item>
    <item>
      <title>How to Deploy a Static Webapp on Azure Static app.</title>
      <dc:creator>Grace Amole</dc:creator>
      <pubDate>Tue, 09 May 2023 20:32:31 +0000</pubDate>
      <link>https://dev.to/graceamole/how-to-deploy-a-static-webapp-on-azure-static-app-100f</link>
      <guid>https://dev.to/graceamole/how-to-deploy-a-static-webapp-on-azure-static-app-100f</guid>
      <description>&lt;p&gt;In today's post, I am going to be showing how to deploy a static web app on Azure Static App. Before we proceed, Let me quickly explain what Azure Static App does.&lt;/p&gt;

&lt;p&gt;Azure Static Web Apps is a service that automatically builds and deploys full stack web apps to Azure from a code repository.&lt;/p&gt;

&lt;p&gt;To continue with this tutorial , you will need&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An Azure subscription. In case you do not have a subscription, get it here. &lt;/li&gt;
&lt;li&gt;A github account and a static HTML File. The resource used for this tutorial can be found
&lt;a href="https://github.com/graceamole/ChristmasGift"&gt;here&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Step 1 : Create Azure Static Web App
&lt;/h4&gt;

&lt;p&gt;After a successful login to your account, click on create resource.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vkQVAORe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmd9zd9wh2nx2vi8zgl3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vkQVAORe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmd9zd9wh2nx2vi8zgl3.png" alt="create azure app" width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;in the search bar, type in static app, then click on static web app, then click on create.&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 2: Configuring the Azure Static App
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pHGnolxE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dwzgv90r53o6v56toxu8.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pHGnolxE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dwzgv90r53o6v56toxu8.jpeg" alt="create a static app" width="800" height="885"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Under resource group, create a new resource group&lt;/p&gt;

&lt;p&gt;Under static web app details, enter the name of your static Web App&lt;/p&gt;

&lt;p&gt;Under Deployment details, select Github as your source. you will required to authorize Azure to access your Github.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EopNzDi1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i6qfg0naqtqho0q3b4wk.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EopNzDi1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i6qfg0naqtqho0q3b4wk.jpeg" alt="Github authentication" width="800" height="1060"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After authorization, enter the repository and the branch that contains the code you want to deploy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qRhjJcaP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lfy86esbng20va4gsqwb.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qRhjJcaP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lfy86esbng20va4gsqwb.jpeg" alt="selecting file" width="800" height="793"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Under build details, select custom and provide the path to where your html file is located as the app location. Then click on preview + create&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---H-sKGVY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hjv45gsko0qtg8cvg2wq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---H-sKGVY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hjv45gsko0qtg8cvg2wq.jpeg" alt="preview" width="800" height="840"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If successful, your azure static app should be similar to the picture above. Wait for the static app to be deployed&lt;/p&gt;

&lt;p&gt;Once deployment is complete, you will be redirect to the page shown below. click on go to &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vKVCwK6M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8trhcji70rbzzuqn812.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vKVCwK6M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8trhcji70rbzzuqn812.jpeg" alt="click Resource" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;click on url on the right had side to redirect you to the static web app you just uploaded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IIzLtI0n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x6tsgeakwwughw4i50oq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IIzLtI0n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x6tsgeakwwughw4i50oq.jpeg" alt="uploaded file" width="800" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will be redirected to your static app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xbcKYFnl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8r0lk7ccutkdp9beq0le.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xbcKYFnl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8r0lk7ccutkdp9beq0le.jpeg" alt="Static App" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;congratulations, you just Deployed a static web app on Azure.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--o_L-s7t6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/46i8yiwzi7mdq1zk0wks.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--o_L-s7t6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/46i8yiwzi7mdq1zk0wks.jpeg" alt="Delete resource" width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do not forget to delete your resource when not in use!!. You do not want to get billed.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
