A FastAPI service that allows users to upload images and download rotated versions of them.
POST /upload/: Upload an image.GET /download/{filename}: Download the processed image.
-
Clone the repository:
git clone https://github.com/your-username/fastapi-image-processor.git -
Install dependencies:
pip install fastapi uvicorn pillow -
Run the FastAPI server:
uvicorn main:app --reload -
Open your browser and navigate to
http://127.0.0.1:8000/docsto access the FastAPI docs and test the endpoints.