Skip to content

ViktorooReps/streamlit-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online queue with Streamlit, centralized Google Sheets backend and Courier notification system

This is an example of poor man's web project. Feel free to deploy it yourself or draw inspiration.

0. Setting up the project

Clone the repository, setup python venv and install the requirements:

git clone https://github.com/ViktorooReps/streamlit-queue.git
cd streamlit-queue
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Create the directory for secrets:

mkdir .streamlit
touch .streamlit/secrets.toml

1. Setting up Google Sheets backend

Go to Google Sheets, create new spreadsheet and add 2 worksheets:

...one with accounts.... image

...and another with the actual queue... image

The bottom of your spreadsheet should look like this: image

Fill in Accounts sheet with the names of the people that will use the queue, as well as their Telegram accounts (optional).

Now go to Google Console and create new project. Then you will need to go to Service Accounts: image

Create service account, and then add a new JSON key: image

Next, you will need to enable Google Sheets API. Search for it in the search bar, click on it and enable it. image

Finally, go to your spreadsheet and add your service account with the Share button.

2. Configuring Courier notifications

TODO

3. Deploying to streamlit

TODO

About

Streamlit + Google Sheets = $0 cost MVP Web project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages