Streamlit and MongoDB: Storing Your Data in the Cloud

Streamlit Cloud has no local storage so data created is lost when the app terminates — unless you use third-party storage like MongoDB

Alan Jones
Towards Data Science
12 min readAug 25, 2023

--

An old-fashioned NoSQL database — actually a set of wooden card files
An vintage NoSQL database — Photo by Jan Antonin Kolar on Unsplash

Streamlit lets you deploy your public apps to their cloud for free, but any files or databases you create locally will cease to exist when the app…

--

--