Question for hosting dart pad on the dynamic web

I want to host the dart-pad on the dynamic web.
So, I hosted custom dart pad and dart service by firebase Hosting and Google Cloud Run.

I wanted to ask about firebase hosting and network

  1. I saw that firebase hosting supports dynamic contents by Cloud Function and Cloud Run. but our custom dart-pad works dynamically without them. So, I did some research about dart-pad. And I concluded that the dart files are converted to Js file when we build a dart-pad web and deploy it. and Js files are worked dynamically.

The first question is, is my conclusion correct?

  1. this is about dart-pad network question
    dart-pad guide suggest to use app engine to host dart-pad.
    but I didn’t use app engine for some reasons. So, I used firebase hosting.
    I was worried if the dart pad was connected to the App Engine. therefore, I checked the network tap in the developer tool.
    And I didn’t find any connection with App Engine.

The second question is, if I used Firebase hosting, is there no connection with App Engine or other Google services?

Hi,

  1. You are correct that Firebase Hosting can serve dynamic content with Cloud Functions for Firebase or Cloud Run. However, I cannot find any resources that states that Dart files are converted to js files when deploying to Dart pad. Do you have any resources that hints to this conclusion?

  2. I have been searching on solutions for hosting Dart-pad and I observed that the recommended way of running Dart in the cloud is through serverless computing solutions(Cloud Run, Functions Framework). Furthermore, I found this on the dart-pad Github issue page where it seems like they are planning to remove AppEngine Flex support and that dart-services runs on Cloud Run. Can you link the dart-pad guide where App Engine is the suggested way of hosting?

If I understand your second question correctly, you can make a connection to App Engine with The Firebase SDKs for Cloud Storage as demonstrated here.

In any case, I believe your inquiries are more suited on the Dart Community Support as I think you can get a more conclusive answer there. I hope this information is useful for you.