https://github.com/louis70109/fastapi-gcs
Google Cloud Storage uploder with FastAPI
https://github.com/louis70109/fastapi-gcs
Last synced: 2 months ago
JSON representation
Google Cloud Storage uploder with FastAPI
- Host: GitHub
- URL: https://github.com/louis70109/fastapi-gcs
- Owner: louis70109
- Created: 2022-09-24T17:16:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T03:34:22.000Z (over 2 years ago)
- Last Synced: 2025-01-31T22:11:24.376Z (4 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastAPI GCS Example
- GET '/': Health check.
- Basic Auth. (default: admin/admin)
- GET '/upload/': Upload file page.
- POST '/upload/': Upload multi-file API.## Prerequisite
- Python 3.7+
## Development
```shell
pip install -r requirements.txt
pytest tests
python main.py
```or
```shell
docker-compose up
``````shell
curl http://localhost:5000/
```## Deploy to GCP
```
gcloud run deploy nijia-cloud-run-example-1 --source .
```