Exposing your services to the internet
One of the objectives when developing our application is that it can be consumed by end users, and in most cases (except for some corporate applications), that means that our application has to be exposed to the internet.
In this section, we will review how to expose our applications to the internet, deployed in both Cloud Functions and App Engine, in order to make functionalities available to our users.
Google App Engine invoked via HTTP
In order to expose services deployed in App Engine, it is necessary to create a web service that allows us to set up an HTTP server in our application. To achieve this, depending on the programming language we use, we can use a framework that facilitates this task, such as the Express framework in the case of using Node.js. It is important to note that App Engine automatically selects the port through which our service will be exposed, therefore when coding our web server, it is necessary to consider...