eMediaCode / Dive-into-AWS-Course---Direct-to-S3-via-Django-JavaScript

In this section, we'll be implementing our Reusable Boto3 Utility (https://cfe.sh/courses/aws/reusable-boto3-utility) to implement secure direct to S3 uploads as well as secure downloads via Django & JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Direct to S3 via Django & JavaScript

In this section, we'll be implementing our Reusable Boto3 Utility to implement secure direct to S3 uploads as well as secure downloads via Django & JavaScript.

Lesson Code

1 - Copy Section 5 Code

2 - Integrate Custom Boto3 Utility

3 - AWS Config in Settings

4 - AWS Config TestCase

5 - Advantages of using Django to manage S3 files No New Code

6 - S3 File Model

7 - Why not FileField or ImageField

8 - Download URL Instance Method

9 - Download File View

10 - Force Download via Custom Boto3 Client

11 - Downloading a Custom Filename

12 - Setup Upload Template View

13 - Signed S3 Upload Policy via URL Endpoint

14 - S3 Direct via Python

15 - Policy via HTTP POST Method

16 - CSRF Exempt for Testing

17 - Django Model Managing S3 Keys

18 - Additional Client-side Data for S3 File

19 - Update Backend on Successful Upload

20 - Django Rest Framework Serializer Validation

21 - Saving a Model Serializer

22 - JSON for HTTP Methods.

23 - Upload Policy View as DRF

24 - Create API View and Invalid Data

25 - Html Upload Form

26 - Raw Javascript Upload - Files List From Input

27 - Display Items to be Uploaded

28 - Raw Javascript Upload - Verify File Type

29 - Raw Javascript Upload - File Policy via XML Http Request

30 - Raw Javascript Upload - new FormData

31 - Raw Javascript Upload - Iterate through Dictionary to Generate Form Data

32 - Raw Javascript Upload - Direct to S3

33- Raw Javascript Upload - Upload Progress

34 - Raw Javascript Upload - Update Django

35 - Update Upload Policy View for Multiple Files

36 - View Progress on HTML

37 - User Login Required

About

In this section, we'll be implementing our Reusable Boto3 Utility (https://cfe.sh/courses/aws/reusable-boto3-utility) to implement secure direct to S3 uploads as well as secure downloads via Django & JavaScript.

License:MIT License


Languages

Language:Python 82.6%Language:HTML 17.4%