Giter VIP home page Giter VIP logo

qnademo's Introduction

CI on dev CI on master

QnA Demo Application

This application demonstrates how a cloud-first modern design allows to combine large geo-distributed scale out of compute with high resilience while not giving in on cost or user experience. This is made possible by the smart combination of:

  • Azure FrontDoor
  • Azure APIM (consumption)
  • Azure Functions (consumption)
  • Cosmos DB
  • SignalR

Setup the demo application

The scripts to set it up with reside in the ./deployment folder:

# Note: this script assumes a logged in PowerShell session, to the right subscription
# Set up the infrastructure by deploying the ARM templates:
./deploy-infra -NameRGForNestedTemplates [Name for resource group] -LocationRGForNestedTemplates [Location]  -NameStorageAcctForNestedTemplates [Name for storage account] -ResourceGroupPrefix [Prefix for the generated Resource Groups] -ArtifactPrefix [Prefix For Generated Artifacts] -AADClientId [Client ID for your registered AAD B2C App] -AADB2CIssuer [AAD B2C issuer in form of something like: https://xstofb2c.b2clogin.com/xstofb2c.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1_susi]

Deploy the Functions app backend

In order to deploy the function code which will serve as the application backend in each of the geos:

# First package the functions up in a zip package:
./package-functionapp-to-zip.ps1

# Deploy the zip packages to each of the geos:
./deploy-function-package-global

Deploy the frontend app

The frontend app is written in Vue.js (more specifically in Quasar, which is an opinionated convenience layer on top).

In order to build the frontend, follow the build instruction in README.MD the qna folder. In summary

# first make some changes to frontend to work with your own AAD B2C - see markdown
# then build the frontend:
quasar build

# then deploy it from within the deployment directory:
deploy-static-assets-global.ps1 

qnademo's People

Contributors

xstof avatar

Stargazers

Andrew Hillier avatar Avineshwar Pratap Singh avatar V Tse avatar  avatar Sergii Kram avatar Pratik Khasnabis avatar Damir Bulic avatar 毛呱呱 avatar Jeremy Whiteley avatar Garvin Casimir avatar

Watchers

James Cloos avatar  avatar

qnademo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.