Hello, Since React is not supported by Google, you may not find official Google documentation about it. However, based on other forum comments, I suspect you need to align the YAML file and build folder to be in the same path. For example, step 5 of this[1] tutorial mentions to create the YAML inside the build folder, and add some wildcard handlers (more about handlers here[2]). After this is done, deploying should work and align all resources. In addition, these[3][4] articles mention the same exact steps, with the latter as an automated script instead.
I hope you find this useful. Sincerely, Alexis Google Cloud Platform Support [1] https://javascript.plainenglish.io/quickly-deploy-your-react-app-on-googles-app-engine-6bb97480cc9c [2] https://cloud.google.com/appengine/docs/standard/php7/config/appref [3] https://stackoverflow.com/questions/53633339/app-engine-app-yaml-handlers-for-built-react-app [4] https://blog.doit-intl.com/deploying-a-react-app-to-googles-app-engine-6efa8f4732c7 On Saturday, May 1, 2021 at 9:11:38 AM UTC-4 [email protected] wrote: > I want to host an application google cloud that is built in React and the > backend is in PHP. I want to know how to do it? Is there any way to do > that? Can we write runtime: node and PHP both on the app.YAML file? > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/73e3e1c8-f344-4241-8eb2-1b085f69611bn%40googlegroups.com.
