Skip to content

ajmalrasouli/ar-resume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#CloudGuruChallenge: Your resume in Azure

Here's what I came up with as a solution to the Azure Resume Challenge

View it live here

Before going through these steps you’ll need to have an Azure account. If you don’t have one you can setup a free trial account at https://azure.microsoft.com/free. Let’s walk through each of these steps.

Diagram

Prerequisites

Front-end resources

The front-end is a static site with HTML, CSS, and JavaScript. It's static and has a visitor counter. The visitor counter data fetched via an API call to an Azure Function.

Back-end resources

The back-end is an HTTP triggered Azure Functions with Cosmos DB input and output binding. The Function is triggered, it retrieves the CosmosDB item, add +1 to it, and saves it and returns its value to the caller.

CI/CD Resources

  • This is how you can deploy a blob storage static site with GitHub actions. Used in frontend.main.yml.

Visitor Counter Badge (Free!)

Powered by Microsoft Azure

Visitor Counter Badge is a simple open-source utility you can use to display the number of visitors on a web page, repository, or profile. Every request to render the visitor count badge invokes an HTTP-triggered Azure function that dynamically generates an SVG image that you can apply on a web page, profile page, or repository.

If you are further interested in learning the internals of this service, please read the Visitor Counter Badge article by Rahul Rai on [https://thecloudblog.net/lab/serverless-visitor-counter-badge-with-azure-functions/]

Releases

No releases published

Packages

No packages published

Languages