NestJS Multer File Upload and Type Validation

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии •

  • @abolfazljalildoost766
    @abolfazljalildoost766 2 года назад +1

    Thank you for these amazing tutorials

    • @JonPeppinck
      @JonPeppinck  2 года назад

      Thanks so much! Glad they were helpful.

  • @ElyesBoudhina
    @ElyesBoudhina 7 месяцев назад

    Hello Jon, why do you upload file then check for validation and then delete it if does not pass them, why not filter it from the start and avoid uploading it and deleting afterwards if it fails the validations.

  • @somebody-17546
    @somebody-17546 9 месяцев назад +1

    Thanks for this course. Can you suggest any good sql courses on udemy?

    • @JonPeppinck
      @JonPeppinck  9 месяцев назад

      Thank you for checking it out! Sure, check out: tinyurl.com/4hszev2s

  • @imigi427
    @imigi427 Год назад +1

    Thanks for this tutorial. Good work

  • @webhopers3106
    @webhopers3106 10 месяцев назад

    Thank you so much very helpful

  • @omarghanim4859
    @omarghanim4859 3 года назад +1

    Fantastic!
    can we implement this with graphql ?

    • @JonPeppinck
      @JonPeppinck  3 года назад

      Thanks Omar. Should be able to with some minor tweaks.

  • @fernandomartinez4304
    @fernandomartinez4304 2 года назад

    HiJon, thanks for the content. I have a problema with the require file-type. Error [ERR_REQUIRE_ESM]: require() of ES Module. Have u any idea how to solve it? Thanks

    • @JonPeppinck
      @JonPeppinck  2 года назад +1

      Thanks! All good. I am not sure. I would check the documentation to see if there has been an update to the way it is consumed.

    • @salahadindinsafa7657
      @salahadindinsafa7657 2 года назад

      @@JonPeppinck downgrade the file-type package to 16.5.4

    • @TheVegasISrael
      @TheVegasISrael 2 года назад

      Solution with downgrade not looks so good.
      I believe many people using newer versions (18 for today).
      It' must have some solution, but I did't found yet.
      In documentation say's that we can use import instead of require (actually no word about require), but the error still persist.

    • @triwulandari7341
      @triwulandari7341 2 года назад

      so, you can try 'import * as FileType from 'file-type';

    • @simonaerts2926
      @simonaerts2926 Год назад

      Does anyone have found a solution? I've tried everything I've seen on internet but nothing works...

  • @authenticatorpark4246
    @authenticatorpark4246 2 года назад +1

    Thx sir

    • @JonPeppinck
      @JonPeppinck  2 года назад

      No worries, thanks for watching!

  • @vudinhcong
    @vudinhcong 3 года назад

    Hi bro, How to public image as static server nestjs ?

  • @yayapanthong9334
    @yayapanthong9334 3 года назад

    Look good