Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 981 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 981 Bytes

Built for Hack the North 2024.

Built and Deployed with Defang

Python & Flask & AWS S3

1-click-deploy

This sample requires an API key to access AWS S3. The name of the config values is referenced in the compose.yaml file. To provide a value for it, you can use the Defang CLI like this:

defang config set --name AWS_ACCESS_KEY
defang config set --name AWS_SECRET_KEY

and then enter the value when prompted.

Testing

curl -X POST -H 'Content-Type: application/json' -d '{ "first_name" : "jane", "last_name" : "doe" }' https://xxxxxx/upload curl https://xxxxxx/download


Title: Python & Flask & AWS S3

Short Description: An app that demonstrates how to upload and download files from AWS S3 using Python and Flask.

Tags: Python, Flask, AWS S3

Languages: python