Giter Club home page Giter Club logo

node_express_app's Introduction

Deploy WebApp with Node to Azure

The purpose of this sample app is to deploy a web app with Node using an Azure web app in few easy steps:

  1. Create a new GitHub repository into your GH Organization using this template

  2. Configure AZURE_CREDENTIALS, AZURE_SUBSCRIPTION_ID and AZURE_WEBAPP_NAME as repo secrets

  3. Trigger GitHub Action workflows:

    • provision Azure resources using ARM templates and manage your Infrastructure as code
    • build and deploy App code to Azure webapp
    • apply and manage Azure Policies as code
    • PR workflow : provision a review app, build and deploy App code to review app

    By making changes to the templates inside the folders of infrastructure, policies, corresponding workflows could be triggered. By raisig a pull request, the PR workflow could be triggered.

Standardize this as a new repo template within your GitHub organization

A GitHub repo template is a very convenient tool if you often start developing new projects and you and your teams need a preconfigured starting template with installed dependencies, structure and customized automation processes.

You can now leverage the repo structure and the workflow templates present in this sample repo and standardize the getting started experience for teams in your organization in just two steps:

  1. Create a new repo using this repo template into your GH organisation.

    (Optional) Customize the templates based on your enterprise requirements

  2. Configure this new repo into a GitHub repo template. To do this, just go to the repository settings and click on the "Template repository" checkbox, and you're all set!

Overview

GitHub Actions gives you the flexibility to build an automated software development lifecycle workflow. You can write individual tasks ("Actions") and combine them to create a custom workflow. Workflows are configurable automated processes that you can set up in your repository to build, test, package, release, or deploy any project on GitHub.

With GitHub Actions you can build end-to-end continuous integration (CI) and continuous deployment (CD) capabilities directly in your repository.

Prerequisites

  1. You will need a GitHub account. If you do not have one, you can sign up for free here

  2. Microsoft Azure Account: You will need a valid and active Azure account for this lab. If you do not have one, you can sign up for a free trial.

node_express_app's People

Contributors

n-usha avatar microsoftopensource avatar kanika1894 avatar dependabot[bot] avatar microsoft-github-operations[bot] avatar

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.