Having introduced microservices, we are going to split our application into two microservices so that they can be deployed, changed, and scaled independently.
Basically, our application was created with a lot of principles used by microservices, such as being partially organized around business capabilities, smart endpoints, infrastructure automation, designing for failure, and so on.
The idea now is to create two applications, each one with its own database, GitHub repository, and CI/CD, and the endpoints will be exposed by Google Cloud Endpoints:
Each microservice will be responsible only for its responsibility, such as the order microservices doesn't need to handle login either user microservice. Since we are going to use Google Cloud Endpoints, we can let endpoints handle that for us with an API key...