Skip to content

A multi-tier app with a dashboard front-end (React + Bootstrap) hosted in Azure Static Web Apps and back-end API (Node.js) hosted in Azure App Service

License

Notifications You must be signed in to change notification settings

Build5Nines/azd-react-bootstrap-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azd-react-bootstrap-dashboard Awesome Badge

An azd template providing a React.js App + Bootstrap 5 front-end dashboard app with backend Node.js API app hosted in Microsoft Azure Static Web Apps and App Service.

To use this template, follow these steps using the Azure Developer CLI:

  1. Log in to Azure Developer CLI. This is only required once per-install.

    azd auth login
  2. Initialize this template using azd init:

    azd init --template build5nines/azd-react-bootstrap-dashboard
  3. Use azd up to provision your Azure infrastructure and deploy the web application to Azure.

    azd up

Architecture Diagram

Diagram of Azure Resources provisioned with this template

Azure Resources

These are the Azure resources that are deployed with this template:

  • Azure App Configuration - An App Config service that can be used for app configuration.
  • Azure App Service Plan - The App Service Plan used to host the API application.
  • Azure App Service - The App Service where the Node.js based API application is deployed.
    • Setup with "System Assigned" Managed Identity used for authenticating access to App Configuration.
  • Azure Application Insights - For application logging
  • Azure Log Analytics workspace - Required for Application Insights logging
  • Shared dashboard - Custom dashboard in the Azure Portal for monitoring
  • Failure Anomalies - Smart detector alert rule - Failure Anomalies notifies you of an unusual rise in the rate of failed HTTP requests or dependency calls.
  • Azure Static Web App - The static website hosting for the Dashboard front-end, SPA (single page application) application built with React.js.

Azure Portal screenshot with list of Azure resources deployed with this template

Dashboard UI

Here's a screenshot of what the Dashboard UI, built with React.js and Bootstrap, looks like:

Dashboard screenshot

API Swagger UI

Here's a screenshot of the API application, built with Node.js, that exposes the Swagger UI:

API Swagger screenshot

Author

This template was written by Chris Pietschmann, founder of Build5Nines, Microsoft MVP, HashiCorp Ambassador, and Microsoft Certified Trainer (MCT).

About

A multi-tier app with a dashboard front-end (React + Bootstrap) hosted in Azure Static Web Apps and back-end API (Node.js) hosted in Azure App Service

Topics

Resources

License

Stars

Watchers

Forks