8000 GitHub - lfarci/recipes: Sample web application running on Azure for learning purposes (focus on IaC).
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lfarci/recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipes

Infrastructure Website API

This repository contains a simple recipe application that allows users to create, read, update, and delete recipes. The application is composed of a web 782D frontend, a RESTful API, and a database.

Architecture

The application is composed of three main components:

  • Web Frontend: A simple web application that allows users to interact with the API.
  • API: A RESTful API that exposes endpoints to create, read, update and delete recipes.
  • Database: A Cosmos DB instance that stores the recipes.

Infrastructure

The infrastructure is defined using Bicep and includes the following resources:

  • Azure App Service: Hosts the API.
  • Azure Static Web App: Hosts the web frontend.
  • Azure Cosmos DB: Stores the recipes.
  • Azure Key Vault: Stores the API client secret and the Cosmos DB connection string.

CI/CD

The repository is configured with GitHub Actions to deploy the infrastructure, and the application. The CI/CD pipeline is composed of the following workflows:

  • Infrastructure: Deploys the infrastructure using Bicep.
  • API: Deploys the API to Azure App Service.
  • Web: Deploys the web frontend to Azure Static Web App.
0