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

https://github.com/louis70109/fastapi-upload-example

It is a FastAPI upload example of docker development
https://github.com/louis70109/fastapi-upload-example

Last synced: about 2 months ago
JSON representation

It is a FastAPI upload example of docker development

Awesome Lists containing this project

README

        

# FastAPI Example

- GET '/': Health check.
- GET '/upload': Upload file page.
- POST '/upload': Upload multi-file API.
- Test case in 'tests/'.

## Prerequisite

- Python 3.7+
- Docker

## Development

```shell
pip install -r requirements.txt
pytest tests
python main.py
```

or

```shell
docker-compose up
```

```shell
curl http://localhost:5000/
```