phlask / phlask-data-handlers

Phlask middleware to help make data ingestion and presentation more efficient!
5 stars 2 forks source link

add food + forage. removed authentication #34

Closed kdmonroe closed 1 year ago

kdmonroe commented 1 year ago

This PR addresses issue #31 and #32 to include food and also forage resource databases, using the custom admin_classes Firebase module.

To address each resource I made a Resource python dataclass. I thought it would be a good choice because it is more of a container for data (allowed_keys) with a very basic functionality (create_dataframe).

The streamlit_authenticator hasn't been included in this PR as the current credentials were non-responsive. This doesn't directly relate to our current issue, so we can review separately. If necessary and working credentials are made available, I'm ready to integrate this into the current PR.

Appreciate your feedback!