{"id":17517700,"url":"https://github.com/paulgoetze/flask-gcs-upload-example-app","last_synced_at":"2025-04-23T14:43:44.730Z","repository":{"id":38323901,"uuid":"184790809","full_name":"paulgoetze/flask-gcs-upload-example-app","owner":"paulgoetze","description":"The example app for the \"File Upload to Google Cloud Storage with Flask\" post series: https://medium.com/p/7a4e379911d7?source=friends_link\u0026sk=dd460418de3d1829c056db5c069f9b6d","archived":false,"fork":false,"pushed_at":"2023-10-25T19:46:17.000Z","size":258,"stargazers_count":9,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"part-1","last_synced_at":"2025-04-18T00:56:02.887Z","etag":null,"topics":["blog","file-upload","flask","google-cloud-storage","post-series","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulgoetze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-03T16:55:08.000Z","updated_at":"2023-07-07T11:14:57.000Z","dependencies_parsed_at":"2025-04-17T11:54:05.277Z","dependency_job_id":"2d557f4d-b754-4d19-bd97-da319db37053","html_url":"https://github.com/paulgoetze/flask-gcs-upload-example-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgoetze%2Fflask-gcs-upload-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgoetze%2Fflask-gcs-upload-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgoetze%2Fflask-gcs-upload-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgoetze%2Fflask-gcs-upload-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulgoetze","download_url":"https://codeload.github.com/paulgoetze/flask-gcs-upload-example-app/tar.gz/refs/heads/part-1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250456015,"owners_count":21433626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","file-upload","flask","google-cloud-storage","post-series","python","python3"],"created_at":"2024-10-20T08:43:59.697Z","updated_at":"2025-04-23T14:43:44.701Z","avatar_url":"https://github.com/paulgoetze.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"Uploading files to Google Cloud Storage using a Flask API\" – Example App\n\nThis is the example app for our 3-part post series on Medium:\n\n * [Part 1](https://medium.com/p/7a4e379911d7?source=friends_link\u0026sk=dd460418de3d1829c056db5c069f9b6d): basic app setup, configuring testing \u0026 production filedepots (see [part-1](https://github.com/paulgoetze/flask-gcs-upload-example-app/tree/part-1) branch)\n * [Part 2](https://medium.com/p/6b203a0e392c?source=friends_link\u0026sk=e7274af2488285dd51756d81de9cf671): testing and implementing the User model \u0026 file upload endpoint (see [part-2](https://github.com/paulgoetze/flask-gcs-upload-example-app/tree/part-2) branch)\n * [Part 3](https://medium.com/p/897c302916e7?source=friends_link\u0026sk=e9fca9639697051be296c140932884e0): customising the upload \u0026 allowing multiple depots (see [part-3](https://github.com/paulgoetze/flask-gcs-upload-example-app/tree/part-3) branch)\n\n\n## Running the App\n\nIn order to run the Flask app:\n\n* make sure you have Python v3.10+ and [pipenv](https://pipenv.pypa.io/en/latest/install/#installing-pipenv) installed\n* run `pipenv install` to install the dependencies\n* run `pipenv shell` to activate the projects virtualenv\n* copy `my_app/config/app_config.py.sample` to `my_app/config/app_config.py` and adjust the config variables to your needs\n* run `FLASK_APP=my_app flask db upgrade` to init the configured database\n* run `FLASK_APP=my_app flask run` to start the local server\n* run `pytest` to run the test suite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulgoetze%2Fflask-gcs-upload-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulgoetze%2Fflask-gcs-upload-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulgoetze%2Fflask-gcs-upload-example-app/lists"}