Summary
In this chapter, we learned how to integrate the React frontend and Quarkus backend projects so that the application can be deployed and distributed as a single component monolith. We started by learning the pros and cons of choosing a microservice architecture. Then, we evaluated why starting with a monolithic approach for our task manager made sense. Next, we learned how to configure the Maven build to include the frontend resources, and how to implement the required logic to serve them from Quarkus. Finally, we made the required changes to the native build configuration and learned how to run the application.
You should now be able to perform the required steps to be able to serve an SPA from Quarkus. In the next chapter, we’ll learn how to deploy the application to Kubernetes.