Deploying a page to Azure Static Web Apps
With the Docker image we created, we can run our project on any cloud provider that offers container services. However, there are other ways to deploy our Angular project.
One of these alternatives is Azure Static Web Apps, a service that specializes in web page design and allows automatic integration with GitHub. Let’s see it in practice in our project.
The first requirement is that your project is on GitHub, as shown in the following screenshot:
Figure 12.10 – GitHub repository for frontend project
If you have copied the project repository, place the gym-diary
folder in your own GitHub project.
To configure the Azure service, go to the account portal and search for Static
Web Apps
.
Click on the Create Static Web App button and the service form will be presented to you.
In the first part, we have the following fields:
- Subscription: Select your Azure subscription.
- Resource...