Chapter 14: Refactoring the Frontend and Exposing REST Services
We have been focusing on the infrastructure in the first part of this book. We examined how to rehost and re-platform our application, gaining some of the benefits of moving to the cloud without making major changes to the application itself.
We will now start to refactor our application toward microservices. To do this, we will need to separate out the frontend of the application so that it can be deployed separately when we move to microservices and expose the business logic to the frontend as REpresentational State Transfer (REST) services. We will also learn how to change the application to delegate identity and authentication to Google Cloud Identity Platform and use that to secure both the frontend and the REST services.
In this chapter, we will cover the following topics:
- Creating REST controllers
- Creating an AngularJS web frontend
- Authenticating in the web frontend
- Validating the authentication...