Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 636 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 636 Bytes

Backend challenge: Cloud File Storage

Service Goals

  • Users and authentication
  • Stats
  • Testing
  • Additional points:
    • Create a Docker image for running the API in a container
    • Swagger Documentation

Usage

  • Start the services: docker compose up
  • Visit the FastAPI web app or the Minio client

Testing

  • With the services up enter into the fastapi service: docker compose exec fastapi sh
  • Execute the tests (with coverage, in order to get a coverage report): coverage run -m pytest app/testing.py
  • Print the report: coverage report