coolwaterld / AuthenticationFileServer

Fastapi Based Authentication File Server

Repository from Github https://github.comcoolwaterld/AuthenticationFileServerRepository from Github https://github.comcoolwaterld/AuthenticationFileServer

AuthenticationFileServer

Fastapi Based Authentication File Server

Run on native PC

pip install -r requirements.txt

python3 main.py

Run on docker

docker build -t fsimage .

sudo docker run -d --name fscontainer -p 8001:8001 fsimage

Use it

  1. See all API on http://0.0.0.0:8001/docs#/
  2. register an account using 'http://0.0.0.0:8001/auth/register'
  3. Login 'http://0.0.0.0:8001/auth/jwt/login'
  4. List your files 'http://0.0.0.0:8001/list'
  5. Upload/Modify a file 'http://0.0.0.0:8001/file_upload'
  6. Download a file 'http://0.0.0.0:8001/file_download/{filename}'
  7. Delete a file 'http://0.0.0.0:8001/file_delete/{filename}'

About

Fastapi Based Authentication File Server

License:Apache License 2.0


Languages

Language:Python 98.2%Language:Dockerfile 1.8%