Skip to content

dmitrii1991/fastapi_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python version Fastapi version Aiofiles version GitHub issues GitHub repo size GitHub last commit GitHub stars

Server for storing files

Description

Простой сервер для загрузки/хранения/удаления файлов первая реализация

Переименуйте docker-compose-template.yml в docker-compose.yml

Run

docker-compose up

API documentation

For the future

  • authentication
  • encryption

some API methods

File

  • POST /file/upload/
  • GET /file/status/
curl -X GET "http://127.0.0.1:80/file/status/" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"full_name\":\"example_file\"}"
  • GET /file/download/{filename}
curl -X GET "http://127.0.0.1:80/file/download/example_file" -H  "accept: application/json"
  • DELETE /file/delete/{filename}
curl -X DELETE "http://127.0.0.1:80/file/delete/example_file" -H  "accept: application/json"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published