Q: How can we host the flutter code on Azure?

anas_nowa
May 15, 2024A: Hey Baalam,
So here's a quick summery after you create an Azure account and already had your project in Nowa deployed as a web app.
1. Create a Storage Account: In the Azure Portal, create a new storage account for hosting your app's static files. Choose a unique name, select the desired region, performance, and redundancy options.
2. Enable Static Website Hosting: In your storage account, navigate to the “Static website” section and enable static website hosting. Set the index document name as index.html.
3. Upload Your Flutter Web App: Go to the “$web” container in your storage account and upload the contents of your Flutter app (the files exported from Nowa when deploying to web)
4. Set Up Azure CDN (Optional): For improved performance, especially for global traffic, set up Azure CDN by creating a new CDN profile and endpoint that point to your storage account’s web endpoint.
5. Configure Custom Domain and SSL (Optional): If you have a custom domain, you can configure it under your storage account's static website settings and set up SSL to secure your app’s traffic.
Hope it helps :)