Hi Katayoon,

Thank you for your response. The documentation does not explains a lot so I 
did the steps myself.

I did the following - registered a new domain in Google Domains. In Google 
App Engine I added this domain. Then following the steps reached the point 
about SSL. And actually Google App Engine supports Let's Encrypt and 
automated the renewal every 3 months. I added the A, AAA records as 
required and had it working after 5 mins. The checked with SSLabs and got 
grade A. 

Then in GoogleCloudPlatform->golfing-samples->endpoints->getting-started:
app.go
func main() {
    r := mux.NewRouter()

    r.Path("/echo").Methods("POST").
        HandlerFunc(echoHandler)

    r.Path("/auth/info/googlejwt").Methods("GET").
        HandlerFunc(authInfoHandler)
    r.Path("/auth/info/googleidtoken").Methods("GET").
        HandlerFunc(authInfoHandler)
    r.Path("/auth/info/firebase").Methods("GET", "OPTIONS").
        Handler(corsHandler(authInfoHandler))
    r.Path("/auth/info/auth0").Methods("GET").
        HandlerFunc(authInfoHandler)

    http.Handle("/", r)
    port := 8080
    if portStr := os.Getenv("PORT"); portStr != "" {
        port, _ = strconv.Atoi(portStr)
    }
    log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
}

So internally I have to use port 8080. The https part is handled for 
CloudEndpoints.


On Wednesday, May 30, 2018 at 12:51:57 PM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> Hi Constantine,
>
> Here 
> <https://cloud.google.com/solutions/mobile/mobile-app-backend-services> 
> you can find the design patterns about different ways to use Cloud Platform 
> to create backend services. You may use either App Engine & Cloud 
> Endpoints 
> <https://cloud.google.com/solutions/mobile/mobile-app-backend-services#appengine-endpoints>
>  
> or App Engine Standard/Flexible & Firebase 
> <https://cloud.google.com/solutions/mobile/mobile-app-backend-services#firebase-appengine-standard>.
>  
>
>
> Using Cloud Endpoints, you can handle communication with App Engine 
> without writing wrappers, so you can simply make direct API calls from your 
> mobile app.
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5d6b01e4-af28-4bfe-81f4-0de106bc582c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengin... thstart
    • [google-app... 'Katayoon (Cloud Platform Support)' via Google App Engine
      • [google... thstart
        • [go... 'Katayoon (Cloud Platform Support)' via Google App Engine
          • ... thstart
            • ... 'Josh Moore' via Google App Engine

Reply via email to