How to add new URLs to serve my Google App Engine Application programatically? - google-app-engine

I have created an application that runs in GAE where users can create online stores. They can set up their own domain for the store. I verify the domain using Google Site Verification API:
https://developers.google.com/site-verification/v1/webResource
In order to serve the application in their domain, I also need to add a new URL defining a subdomain (i.e. www). I am currently doing this step manually, but I would like to do it programatically.
Is there a Google API to add new URLs to serve an app?

Related

next steps after deploying Django and react app to Azure app service

I am failry new to Clouad Service and I have a React and Django web app running on Azure app service.
Thing that I have done already.
Django and react app up and running fine locally.
2 docker Images with 2 containers deployed into Azure App service.
I have one azure resource registry and 1 app service with two docker containers (frontend and backend)
Both react and django are up and running in azure app service and are accessible using similar to following urls.
frontend.azurewebsites.net #This is just a sample name
djangorestapi.azurewebsites.net #This is just a sample name
I wanna publish this to public using domain. I am aware that I have to buy a domain and stuff. I would really appreciate if somebody can point out what are the next steps to follow. I wanna make it available to public.
Also, with new changes I need to fix my React restapi endpoits which I made it using Django Rest Framework.
If you'd like to customize your web app with a domain name other than the default azurewebsites.net, you can add a custom domain to your web app, also securing it with a free certificate from App Service Managed Certificates.
If you already have an existing custom DNS name, you just have to map it with your App Service. Make sure you can edit DNS records for your custom domain. If you don't have a custom domain yet, you can first purchase an App Service domain, and then map the App Service domain to your app.
Check this blog post for a detailed walkthrough.
Note: Your webapp's App Service plan has to be on any of the non-free tiers (D1, B1, B2, B3, or any tier in the Production category) to be able to use Custom Domains.

How to make my users able to add custom domain with React.js+Node App

Im using React.js and Nodejs as an api, my nodejs is hosted on some server and my React.js app is hosted on netlify, i want my users to be able to add their custom domain or subdomain pointing to their profile

How do I add a custom domain to my GAE app? Domain from GoDaddy

I bought a domain from GoDaddy.com and I've been trying to connect that as a custom domain to my app engine project.
My project is a static website made in python using the flask framework. I currently have the stock url provided but I want to connect a custom domain purchased from GoDaddy. I updated the records under manage DNS settings on GoDaddy with the ones provided when I mapped my domain in the App Engine settings. I followed this tutorial on Google Cloud documentation.
What am I doing wrong? The site shows up as can't be found when I try to access it through the custom domain.

Google cloud api for mapping custom domains to app

Is there an sort of API to automatically map custom domains to app. In a multi tenant system, app domain mapping requires that an explicit mapping is created through App Engine settings.
Is there any way of doing this programmatically? Cloud DNS API of sort for App Engine app domain mapping.
Meanwhile the desired feature has been implemented in beta stage, and there is now indeed a way of doing this programmatically, and you can now manage both your custom domains and SSL certificates using the new beta features of the Admin API and gcloud command-line tool. More detail can be gathered from the "App Engine users, now you can configure custom domains from the API or CLI" documentation page.

How to authorize Google app on an API Project in a specific domain

I am trying to take a GAE app and have it upload logging data, in CSV format, into Google Storage, and then into Big Query (via an upload job). The documentation says that the proper way to authorize a GAE app to have write permission in an API project is to add the GAE application as a team member in the API project.
However, there is a domain restriction in the API Team panel, that makes it impossible for us to add the '#appspot.gserviceaccount.com' address that the documentation says we need to. I talked with our IT department (who setup the API Project to being with) and they aren't sure how to circumvent that restriction.
I must be missing something, but how should we authorize our GAE App to push data into our API Project when we cannot add the account in this manner?
Thanks.
Create a Google group on your domain.
Add that group email address to the team editors in your Google Developers project.
Then add the Google App Engine application email address to that Group.
You might have to wait a short time before the permissions kick in.

Resources