NestJs upload image to s3. NestJs course [pt. 9]

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Learn how to upload files to nestJS API and then how to send them to AWS S3 service. The following video is the last one from the series, where we build CRUD API using nestJs framework. After watching this episode, you should have a solid understanding of the nestJs file interceptor. You should also know the basics of the AWS S3 service.
    Starter code: github.com/piotrmol/nestjs-re...
    Final code: github.com/piotrmol/nestjs-re...
    00:00 Introduction
    00:49 Code revision
    01:26 Endpoint for uploading images
    07:08 S3 Module
    08:07 Creating a new S3 bucket
    10:53 Using aws SDK to communicate with s3
    🎓 Enhance your learning journey! Visit my second channel, for valuable tips & tricks on mastering academics: / @piotrteaches 👨‍🎓👩‍🎓
  • Věda a technologie

Komentáře • 11

  • @mathe1996
    @mathe1996 Před rokem

    Thank you so much Piotr. You have no idea how this video saved my life. I've tried to watch several videos before yours, and none of them was helpful. Thank you 🙏🙏

  • @zackOverflow
    @zackOverflow Před rokem

    This is awesome! fast, steady, and accurate. Thumms up 👍

  • @madhusudhansubedi
    @madhusudhansubedi Před 5 měsíci

    Love you Piotr! It saved my day

  • @andifaizal6848
    @andifaizal6848 Před rokem

    You are good teacher. 🎉

  • @berkayaslan1410
    @berkayaslan1410 Před 3 měsíci

    thank you

  • @inderkantkhandelwaal3402

    Make a video how to show files if the bucket is private.. If possible in Next js
    Thanks ❤ from India

  • @ICOReviewtoken
    @ICOReviewtoken Před rokem

    You can make no download video on aws with Nesths ?

  • @IAMTHEMUSK
    @IAMTHEMUSK Před rokem

    This video is amazing than you !. For the S3 credentials, is it necessary to put them on when we run the project on the server? Or we can config the server with the aws cli to get the aws config file?

    • @TechWithPiotr
      @TechWithPiotr  Před rokem +1

      It depends. If you run your app inside the AWS cloud, you don't have to configure the credentials or set them in the S3 client. The credentials will be automatically read from the account you run the app on. On the other hand, if you deploy your app on an on-premise server, you'll need to set the credentials.

  • @karankalavadia3520
    @karankalavadia3520 Před 5 měsíci

    I'm getting "Error: Socket connection timeout" Every time Even I did same as video suggests

  • @abedaarabi3014
    @abedaarabi3014 Před rokem

    thanks, it great video. could you please extend it to upload the file to the ser and after move it to aws :) also it could be nice if you show in case the internet cut so it doesn't need to upload form the beginning it just could continue where it stopped.