How to upload files to AWS S3 with FastAPI ?

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น •

  • @jr.developer
    @jr.developer  ปีที่แล้ว

    Source code: github.com/jrdeveloper124/file-transfer/blob/main/main.py

  • @gadamsettiakhil
    @gadamsettiakhil 2 ปีที่แล้ว +6

    good explanation, interesting choice of subject

  • @po6577
    @po6577 ปีที่แล้ว +1

    great video, this include all the basics i need, cheers mate

    • @jr.developer
      @jr.developer  ปีที่แล้ว

      I'm glad that it helped you 👍🏻

  • @buiduc2412
    @buiduc2412 ปีที่แล้ว

    can i ask what extension you use in vs code that can warn like "s3_upload" not defined like min 8:24

    • @jr.developer
      @jr.developer  ปีที่แล้ว +1

      It's called Error Lens. VS Code extension id: usernamehw.errorlens

  • @apraveena
    @apraveena ปีที่แล้ว +1

    Thank you so much for the video, exactly what I needed.. How and where do we provide authentication details?

    • @jr.developer
      @jr.developer  ปีที่แล้ว

      For JWT based authentication you can follow these nice tutorials in their documentation
      1. Generate tokens - fastapi.tiangolo.com/tutorial/security/first-steps/
      2. Get user details - fastapi.tiangolo.com/tutorial/security/get-current-user/

  • @eluented
    @eluented ปีที่แล้ว

    thank you man amazing video keep it up! new sub

  • @ikeecode3410
    @ikeecode3410 ปีที่แล้ว

    Hello thank you for the video, can you explain how you set up your bucket first ?

    • @jr.developer
      @jr.developer  ปีที่แล้ว +1

      Creating an S3 bucket is quite simple just head over to the s3 console: s3.console.aws.amazon.com and click on the create button. If you still need more details checkout their guide here: docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html
      I realized that I didn't cover this after I have uploaded the video. So, I gave a brief on how to configure the credentials to access AWS in the next video: th-cam.com/video/mNwO_z6faAw/w-d-xo.html . Please, check that out if you haven't already.
      I'm planning to make another video which includes JWT authorization while downloading/uploading files. I'll make sure that I cover the basics in that.
      I hope this helps. Thank you for the comment.

    • @ikeecode3410
      @ikeecode3410 ปีที่แล้ว

      @@jr.developer Thank you for the videos

  • @JayendrasinhSOLANKI-s3w
    @JayendrasinhSOLANKI-s3w 3 หลายเดือนก่อน

    which fonts you are using in vscode?

    • @jr.developer
      @jr.developer  3 หลายเดือนก่อน

      The font that I used in this video is called Operator Mono but I recently started using IBM Plex Mono which looks beautiful too.

  • @RajveerSingh-vf7pr
    @RajveerSingh-vf7pr ปีที่แล้ว

    Great Video,
    but video starts at 10:00

  • @sardarjagpreetsingh190
    @sardarjagpreetsingh190 ปีที่แล้ว

    Is this working in aws lambda function?

    • @jr.developer
      @jr.developer  ปีที่แล้ว

      No. This wouldn't work on AWS lambda.

  • @mr.deep.
    @mr.deep. ปีที่แล้ว

    Thanks

    • @mr.deep.
      @mr.deep. ปีที่แล้ว

      Please upload more video on aws

  • @yonyoon19
    @yonyoon19 ปีที่แล้ว +1

    /-> nfactorial incubator 2023

  • @nagrajankola1323
    @nagrajankola1323 ปีที่แล้ว

    source code?

    • @jr.developer
      @jr.developer  ปีที่แล้ว

      Sorry for the delay. Checkout the pinned comment. Thanks.