We covered the overall architecture of our application in the second chapter of this book. In order to migrate to Firebase, we need to rethink this architecture and see what we can leverage from the Firebase platform and, more importantly, what we can't.
Migrating to Firebase
The User interface
This is probably the easiest to decide. Our user interface takes the form of static files that need to be served to the user.
With Firebase Hosting, we can offload the task of serving static assets and files (arguably the highest load in terms of network traffic) entirely to the cloud.
Moreover, the reliability that a cloud solution provides will lead to faster and more secure retrieval of our static assets.