Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Update backend architecture design doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ayltai committed Sep 21, 2022
1 parent 50f1211 commit 0fa0958
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ The backend is a Node.js application targeted to run as [Azure Functions](https:
3. The frontend app fetches a list of available apps from [Homebrew Cask](https://brew.sh) via its [Formulae API](https://formulae.brew.sh/api/cask.json).
4. The frontend app searches for apps in Apple App Store via a public [CORS proxy](https://github.com/LeandroBerlin/itunes-search).
5. The frontend app fetches a list of available macOS tweaks from a [GitHub repository](https://github.com/ayltai/ansible-macos-tweaks).
6. When the user is ready to install apps and apply tweaks, the frontend app generates a shell script and stores it in [Xano](https://www.xano.com) which is a no-code database. A link to download the shell script is generated and a single-line command is displayed to the user.
6. When the user is ready to install apps and apply tweaks, the frontend app generates a shell script, upload it via a backend API ([Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview)) and stores it in [Cosmos DB](https://learn.microsoft.com/en-us/azure/cosmos-db/introduction). A link to download the shell script is generated and a single-line command is displayed to the user.
7. The user opens Terminal in macOS.
8. The user runs the single-line command that downloads the shell script from [Xano](https://www.xano.com).
8. The user runs the single-line command that downloads the shell script via a backend API ([Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview)).
9. The shell script downloads an [Ansible](https://www.ansible.com) playbook for macOS tweaks from GitHub.
10. The shell script installs apps using [Homebrew](https://brew.sh) and [mas-cli](https://github.com/mas-cli/mas), and applies macOS tweaks using [Ansible](https://www.ansible.com).

Expand Down
Binary file modified assets/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions terraform/storages.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ resource "azurerm_storage_account" "this" {
name = var.tag
account_tier = "Standard"
account_replication_type = "LRS"
min_tls_version = "TLS1_2"

tags = {
Name = var.tag
Expand Down

0 comments on commit 0fa0958

Please sign in to comment.