Two simple demos to showcase file uploads with Phoenix .
You may upload files through LiveView or use the API.
Alternatively, call api/images
and make a POST multipart/form-data
request.
The file can only be an image
and no more than 5MB.
init
: All Set!
REQUIRED Environment Variable | Defined? |
---|---|
AWS_ACCESS_KEY_ID |
|
AWS_REGION |
|
AWS_S3_BUCKET_ORIGINAL |
|
AWS_SECRET_ACCESS_KEY |