Giter Club home page Giter Club logo

sethips / dive-into-aws-course---direct-to-s3-via-django-javascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codingforentrepreneurs/dive-into-aws-course---direct-to-s3-via-django-javascript

0.0 0.0 0.0 1.83 MB

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

Python 82.55% HTML 17.45%

dive-into-aws-course---direct-to-s3-via-django-javascript's Introduction

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

dive-into-aws-course---direct-to-s3-via-django-javascript's People

Contributors

codingforentrepreneurs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.