<?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: Marc Heath</title>
    <description>The latest articles on DEV Community by Marc Heath (@mcheath31).</description>
    <link>https://dev.to/mcheath31</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%2F894500%2Ff02039c4-1727-4d16-ac26-7241e6474e75.png</url>
      <title>DEV Community: Marc Heath</title>
      <link>https://dev.to/mcheath31</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mcheath31"/>
    <language>en</language>
    <item>
      <title>Azure Cloud Resume with a visitor counter</title>
      <dc:creator>Marc Heath</dc:creator>
      <pubDate>Tue, 19 Jul 2022 13:26:39 +0000</pubDate>
      <link>https://dev.to/mcheath31/azure-cloud-resume-with-a-visitor-counter-3l0b</link>
      <guid>https://dev.to/mcheath31/azure-cloud-resume-with-a-visitor-counter-3l0b</guid>
      <description>&lt;p&gt;This article is for the &lt;a href="https://cloudresumechallenge.dev/docs/the-challenge/azure/"&gt;#CloudResumeChallenge&lt;/a&gt; by &lt;a href="https://twitter.com/forrestbrazeal"&gt;Forrest Brazeal&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/mcheath31/CloudResume"&gt;My github repo&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.mcheath.com/"&gt;My site&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;When I started learning more about cloud and wanted to start pivoting my career towards it, I was becoming overwhelmed. The internet is filled with things claiming to be 'The way to get a job in the Cloud.' &lt;/p&gt;

&lt;p&gt;I found the Cloud resume challenge and originally had started in AWS, studying for the Solutions Architect exam. When life got in the way I had to shelf that and came back to the challenge in 2022. This is where I started to change to Azure.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Challenge
&lt;/h2&gt;

&lt;p&gt;Tools used&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Github&lt;/li&gt;
&lt;li&gt;Html/CSS/Javascript&lt;/li&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;CI/CD (Github Actions)&lt;/li&gt;
&lt;li&gt;Azure CosmosDB&lt;/li&gt;
&lt;li&gt;Azure Functions&lt;/li&gt;
&lt;li&gt;Azure Static Webpage hosting via a storage account&lt;/li&gt;
&lt;li&gt;Azure CDN&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The challenge consisted of utilizing multiple technologies, both inside of Azure and outside. Learning Azure felt like a fraction of the challenge where implementing them hands-on is where the real learning occurred. My order of operations during this challenge came with building the site first, this was finding a template and filling my information out. I look to change some of the webpage as well as add some more information at a later date.&lt;/p&gt;

&lt;p&gt;After the webpage I created the CosmosDB database while using serverless capacity to save on budget. This consisted of one database, one container and one item to house the counter for the webpage.&lt;/p&gt;

&lt;p&gt;Next on the block was my azure function, which I would say was the toughest part of my challenge as I had never needed to produce an api. A lot of my time was spent here with trial and error. Initially I had tried C#, and then python but settled on Node.Js. I was able to get this working and displaying locally on my site. Once that was done, I deployed the function to azure, as well as deployed the site to static hosting.&lt;/p&gt;

&lt;p&gt;The next portion was setting up the custom end point, I purchased my domain, pointed the addresses at each other and waited for the DNS to catch up. I made sure to change the CORS rules in my Azure function, and everything on the website was good to go.&lt;/p&gt;

&lt;p&gt;The last thing was to make my pipeline, I utilized Microsoft Docs. While following the instructions on setting up &lt;a href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-static-site-github-actions?tabs=userlevel"&gt;Github Actions&lt;/a&gt;, I made a few stumbles while forgetting names and not checking my working directory, I was able to push my frontend to github to azure while passing the builds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Going forward
&lt;/h2&gt;

&lt;p&gt;There are a few different things I am looking to implement with the site moving forward. I will be building unit testing for my backend, as well as implemented infrastructure as code via Terraform. I will be upkeeping the site normally and looking for new pieces to add to this project as time goes on.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>javascript</category>
      <category>github</category>
    </item>
  </channel>
</rss>
