An open API service indexing awesome lists of open source software.

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

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 .
```