Building a Streamlit AMA App ft. Firestore Database

Building a Streamlit AMA App ft. Firestore Database

4.918 Lượt nghe
Building a Streamlit AMA App ft. Firestore Database
I have never used Google Firestore as a remote database to store data from @streamlitofficial ! In this 1 hour challenge, I try to implement a Streamlit App for you to send me anonymous questions (like a ngl clone, without connecting to Instagram). I will first setup a Firestore collection through the Firebase interface, then proceed to read and write JSON documents from Python into this Firestore collection. Finally, I will deploy the app to Streamlit Cloud and show how to convert your Firestore JSON Api key into a Streamlit Secrets, suitabe for usage in the Cloud. And since I had never played with Firestore, you will see my unfiltered reactions to all the obstacles and successes in building this app, from struggling to understand Firestore security rules to fixing a security account permission error 00:00 Context 01:00 Firestore setup 02:52 Let's code! 06:33 Let's deploy! 08:20 Aftermath thoughts --- 🗣️ Stay up to date with the Data Web App Ecosystem - 📑 Follow my socials ➡ https://andfanilo.com - 📧 Get my latest updates in your inbox ➡ https://newsletter.andfanilo.com - 💰 Buy me a coffee to stay awake while editing ➡ https://www.buymeacoffee.com/andfanilo 🔗 Links - My app: https://andfaniloama.streamlitapp.com/ - Source code: https://github.com/andfanilo/streamlit-ama - Firebase: https://firebase.google.com/ - Streamlit +: Firestore blog post https://blog.streamlit.io/streamlit-firestore/ - Streamlit website: https://streamlit.io/ - Streamlit docs: https://docs.streamlit.io/ - Streamlit forum: https://discuss.streamlit.io/ - Streamlit Discord (official): https://discord.gg/bTz5EDYh9Z 🔧 My tools (Affiliate links to support me) - 📕 Streamlit Official Book - https://amzn.to/3QuRPwl - 📷 Main Camera - https://amzn.to/3QvTosB - 📷 Main Lens - https://amzn.to/3svYCwq - 🎙️ Microphone - https://amzn.to/47l5ewA - 🎵 Music & Sound Effects - https://www.epidemicsound.com/referral/a2p22s --- 🪶 25th video out of 35 for the year. Well, this one was tough, it was unscripted and I really thought at first I was going to finish that app in 10 minutes, in the end it took a lot of time. Turns out when you tell your boss something takes 10 minutes and it ends up taking the hour, because you read the docs about security and pricing, your IDEA starts hating you and you meet unforeseen errors... Anyway I'm taking a small summer holiday break and will maybe use the time to script videos only, so now's the time to tell me in the comments what subject you want to see covered, ok see ya Data Fans, thanks for reading through this! ⚠️ Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue providing you with free content! #streamlit #python #datascience #dataapps