Leveraging Backend Servers
摘要
In this chapter, we will introduce a more sophisticated and scalable approach to designing web applications. Specifically, we will explore how to offload the overhead of managing databases from the Streamlit server to an independent backend server, as is typical in a full-stack environment. The chapter will guide the developer through the process of provisioning a backend server in Python, which will act as an intermediary between the database and the frontend. Finally, the developer will be introduced to a highly modular, versatile, and secure architecture, with added security layers between the application and the database.