This repository contains a Streamlit app that connects to a Pocketbase database.
The goal of this app is to provide a simple example of how to connect to a Pocketbase database using the Pocketbase Python Client and Streamlit's new Connection API.
Note: You need poetry installed to run this app. If you don't have it, you can follow the instructions here.
- Clone this repo.
- Create
.streamlit/secrets.tomland add your Pocketbase Endpoint. It should look like this:
pb_url = "http://127.0.0.1:8090"- Run
poetry installin the root directory of this repo. - Download the Pocketbase Executable from here and run it.
- Run
poetry run streamlit run app.pyin the root directory of this repo. - Enjoy!
You can see a demo of this app here.