Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lalelisealstad/gdp-dash
A simple Flask Dash app that allows users to search for a country and visualize its GDP growth.
https://github.com/lalelisealstad/gdp-dash
cloud-run dash github-actions plotly python
Last synced: about 1 month ago
JSON representation
A simple Flask Dash app that allows users to search for a country and visualize its GDP growth.
- Host: GitHub
- URL: https://github.com/lalelisealstad/gdp-dash
- Owner: lalelisealstad
- License: mit
- Created: 2024-10-15T09:07:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T14:22:49.000Z (3 months ago)
- Last Synced: 2024-11-11T17:45:18.758Z (3 months ago)
- Topics: cloud-run, dash, github-actions, plotly, python
- Language: Python
- Homepage: https://gdp-dash-812336563676.europe-north1.run.app/
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# get-gdp-dashboard
A simple Flask Dash app that allows users to search for a country and visualize its GDP growth. The app uses data from the World Bank API. The app includes a github actions workflow that does unit and integration testing, lintin, deploys the app to Cloud Run using docker.
Available at: [Link](https://gdp-dash-812336563676.europe-north1.run.app/)
![alt text](image.png)
- A searchable dropdown to select a country.
- A graph showing the historical GDP growth of the selected country.
- Text showing the latest available GDP data for the selected country.## Technologies Used
- **Flask**: Backend framework for serving the Dash app.
- **Dash**: Plotly-based framework for interactive web apps.
- **World Bank API**: Data source for fetching GDP history.
- **Poetry**: Python dependency management.
- **GitHub Actions**: CI/CD pipeline for automatic deployment.
- **Google Cloud Run**: Serverless platform for running the app.### Run app locally:
```
$ python3 -m venv .venv
$ source .venv/bin/activate
$ poetry install
$ python app.py
```