0 Down time
GraphQL
NextJS
Mongo
VITE
MEAN
MERN
Rust
Spring
Hibernate
Liquid
SASS
REST
Spring
React
Angular

React Quiz Generator

Recently while studying for an Azure certificaton exam, I came up with the idea to generate my own test exam using AI. It came to me while I was studying since I have been using Github Copilot to help me study asking it questions. While looking for another prep exam, I had the Idea "Why not just ask Copilot to generate me some questions". Immediately, it provided me with 20 multi-choice questions I could use to study. This gave me an Idea, what if I asked Copiilot to format the questions as JSON so I could feed it into a JS app. And so I did it. 

more...

Github to Azure

Deploying an Angular app to Microsoft Azure when merging to the master branch on GitHub involves different Azure services and GitHub Actions. Here's a general overview of the process:

Set Up Azure Services:

a. Azure Storage Account: Create an Azure Storage Account to host your Angular app's static files (HTML, CSS, JS). You can also use Azure Blob Storage within the Storage Account.

b. Azure CDN (Optional): Set up an Azure Content Delivery Network (CDN) profile and endpoint to serve your app's content globally for better performance.

Configure Azure Credentials:

a. Set up an Azure Service Principal with appropriate permissions to access the Azure Storage Account and CDN (if used).

b. Generate the Azure Service Principal's Application ID, Authentication Key, and Tenant ID.

c. Configure these credentials on your local machine or your CI/CD environment where the deployment will take place. This can be done using environment variables or Azure CLI configuration.

Set Up GitHub Actions:

a. In your Angular project repository on GitHub, create a .github/workflows directory.

b. Create a YAML file (e.g., deploy.yml) in this directory to define the GitHub Actions workflow.

c. Configure the workflow to trigger on merges to the master branch.

Define Deployment Steps:

a. Within the workflow file, define steps to build and deploy the Angular app:

more...

script