You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Develop a simple, standalone Streamlit / Next.js application to display the ETL publication status fetched from the new backend API endpoint.
Context:
This provides the user interface for monitoring the ETL pipeline's progress. This is a separate application from the main query frontend.
Tasks:
Create a new directory for this frontend, e.g., etl_monitor_frontend/.
Inside this directory, create a Streamlit application file (e.g., app.py).
Add necessary dependencies (streamlit, requests) - potentially in a etl_monitor_frontend/pyproject.toml if managing dependencies separately or add to the main pyproject.toml under optional dependencies.
Implement the Streamlit app to:
Call the backend API endpoint created in Issue Basic ETL pipeline starter code #6 (use the requests library). The API URL should be configurable via environment variables (etl_monitor_frontend/.env).
Provide UI elements (e.g., dropdowns, date pickers) for filtering/sorting options corresponding to the API parameters.
Display the fetched data in a clear tabular format (e.g., using st.dataframe).
Include a refresh button.
Handle API errors gracefully (e.g., display an error message if the backend is unreachable).
Create a Dockerfile for this new frontend service (etl_monitor_frontend/Dockerfile).
Create an .env.example file for environment variables (like the backend API URL).
Acceptance Criteria:
A Streamlit application exists in etl_monitor_frontend/.
The application successfully calls the backend API /etl/status/.
Publication data is displayed in a table.
Users can filter/sort the data via UI controls.
The application has a Dockerfile and .env.example.
The text was updated successfully, but these errors were encountered:
Develop a simple, standalone Streamlit / Next.js application to display the ETL publication status fetched from the new backend API endpoint.
Context:
This provides the user interface for monitoring the ETL pipeline's progress. This is a separate application from the main query frontend.
Tasks:
etl_monitor_frontend/
.app.py
).etl_monitor_frontend/pyproject.toml
if managing dependencies separately or add to the mainpyproject.toml
under optional dependencies.requests
library). The API URL should be configurable via environment variables (etl_monitor_frontend/.env
).st.dataframe
).Dockerfile
for this new frontend service (etl_monitor_frontend/Dockerfile
)..env.example
file for environment variables (like the backend API URL).Acceptance Criteria:
etl_monitor_frontend/
./etl/status/
.Dockerfile
and.env.example
.The text was updated successfully, but these errors were encountered: