The last milestone has been (mostly) reached! Last week I managed to deploy the Angular web app and connect it to the .Net Web API. I’ve also created an Azure SQL database but haven’t finished the migration yet. I’m excited because this is the first time I haven’t given up on an idea and managed to release it. There is still some work to do (mainly database migration and adding the questions) but I’m close to showing the app to beta testers π.
After deploying the Angular app, I thought most people I send the app to would try to open it on a mobile device first, so I made that a priority and focused on that before moving on to database migration. It took me some time but I’m very happy with the result and for now, I think there is only one feature left in the frontend for the beta – user ranking, which I will try to implement this week.
what did I do last week?
- deployed angular app on Azure (as an Azure Static Web App)
- fixed angular theme loading problem (while I tried to deploy the app to Azure it turned out that I’m loading the angular material library in each scss file which was breaking the build)
- added custom domain to Azure Static Web App
- made all components responsive (adapted to mobile)
- added Azure SQL Database
what was the biggest impediment?
The biggest impediment was adding custom domain to the Static Web App. I’ve found multiple tutorials on that (most of them recommend adding it by the cname record in the domain provider’s DNS configuration) but in my case my domain provider has a completely different set up and I had to take a few extra steps to add it. The another tricky part was that every time I tried to add the domain to my static web app I saw the info that it could took 48 hours π€ So I tested it few times and it took me few days to finally accomplish that.
The second difficult thing from the last week was choosing the best data storage solution for Azure. There are many factors involved (costs, capacity, scalability) but for now I’ve decided to use Azure SQL Database with single database as it should take the least amount of time to implement. I’ve been reading a lot about CosmosDB but there was hard for me to decide which will be better solution for my app so I’m going for simplicity for now.
what is the plan for next week?
- finish database migration
- implement users ranking
- add more questions to the app
time spent
- from last week
15h 0m - overall
176h 30m
costs
- from last week
0 $ (Actually I spent 0.13$ on Azure hosting but I had free 200$ credit for 30 days) - overall
32 $
summary
Splitting up the app was a really good idea. Development is smoother. I like the way Github actions work with the Azure platform. Hopefully this week I’ll have enough time to finish the final tasks and present my app to others before the end of the year π.