Node.js Backend Project Setup with Typescript, ESLint, Prettier, and Jest

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 66

  • @HosseinBajan
    @HosseinBajan 7 місяців тому

    It was the best node environment that I have seen so far, it was really great, thank you

  • @hidden_from_you
    @hidden_from_you 3 роки тому +1

    I am a front-end developer, but your tutorial very useful for me, great job thanks!
    Wishing for more than a million views!

  • @TobiAkinyemi-mq5mh
    @TobiAkinyemi-mq5mh Рік тому

    👌, thank you for taking time to explain why you did something and a brief description on what it's actually doing .

  • @Scetils
    @Scetils 3 роки тому +4

    This was such a solid first video Leo!
    Really appreciate it and can't wait to go through more. 🤺

  • @xc1726
    @xc1726 2 роки тому

    i'm korean university student. Despite my poor English, your explanation was very helpful. Thank you !! 👍

  • @sanjitselvan5348
    @sanjitselvan5348 Рік тому

    The knowledge you've given us in this video is priceless. Thank you! 🙌

  • @jeremiahakpera3457
    @jeremiahakpera3457 Рік тому

    This is exactly what I was looking for. Thank you

  • @serhiiocean2662
    @serhiiocean2662 3 роки тому

    the best guide that I've found (not on youtube but in general) that covers everything that I needed!
    I literally spent a few hours reading some articles/watching videos but non of it was like this video, thanks!

    • @CodeDunks
      @CodeDunks  3 роки тому

      Glad I was able to be of some help!

  • @amazonreviews2524
    @amazonreviews2524 2 роки тому +2

    This is amaze-balls! Thank you Leo. You helped me tremendously. :)

  • @ahmdswerky
    @ahmdswerky 3 роки тому

    Such an awesome/comfortable environment, Hope to see more

  • @twiksify
    @twiksify 2 роки тому

    I should put this on repeat just because you deserve a lot views.
    Very well structured and explained, top notch!

  • @ashishkarki4880
    @ashishkarki4880 3 роки тому

    greatly technical and useful video. Please keep them coming. thanks a lot

  • @calculuski
    @calculuski 2 роки тому

    Great video that covered almost what I needed. I would also like you to add API and database feature and testing with jest. Thumbs up Leo..

  • @leonardparan7291
    @leonardparan7291 3 роки тому

    You're one of the best dude, thank you so much

  • @goshmain982
    @goshmain982 3 роки тому

    This is such informative and literary everything I needed.

  • @utsavojha2953
    @utsavojha2953 3 роки тому

    Awesome walkthrough Leo, good stuff! 🚀 subscriber++

  • @DaumChannelGamePart
    @DaumChannelGamePart 2 роки тому

    wow. this is the best practice ever!

  • @yashshah7673
    @yashshah7673 Рік тому

    Too good Leo!! Thank you very much! :-)

  • @ThijmenCodes
    @ThijmenCodes 2 роки тому

    Great video, you really cover everything from A to Z. Thanks!

  • @mealcode
    @mealcode 3 роки тому

    thanks leo for this gold content. Keep going :)

  • @zero__gravity_Shekhawat777
    @zero__gravity_Shekhawat777 3 роки тому

    Great work waiting for more videos

  • @mahendranath2504
    @mahendranath2504 3 роки тому +4

    excellent, next time a small suggestion is to increase the font size on VS code editor as its small font hard to focus on your typing , it's a great content 👍

    • @CodeDunks
      @CodeDunks  3 роки тому

      Yes I apologize, first video I thought for some reason you guys could see what I could. Won't be happening in my future videos. Thanks for the feedback!

    • @mahendranath2504
      @mahendranath2504 3 роки тому +1

      @@CodeDunks no need for apologies, it happens, we learn from mistakes,you are doing a great job 👏👍

  • @VINODMAKKENA-e7q
    @VINODMAKKENA-e7q 3 місяці тому

    This is helpful. Thank you

  • @purchtechnologies3414
    @purchtechnologies3414 7 місяців тому

    This is solid. Thanks

  • @nishalgoud222
    @nishalgoud222 3 роки тому

    awesome !.Please keep them coming.

  • @jeremiahblessing3891
    @jeremiahblessing3891 3 роки тому +1

    13:21 If you are not familiar with Prettier, that's me. LMAO XD

  • @marioibarra668
    @marioibarra668 2 роки тому

    Leo thanks for a great tutorial. It helps me a lot to understand the set-up. Just one small comment: you need to zoom out. Difficult to see what the names of the files. Thanks again.

  • @qianjinqin8293
    @qianjinqin8293 3 роки тому

    Thank you, Leo.

  • @coadingwithdharma
    @coadingwithdharma 3 роки тому

    NIce work, keep it up bro

  • @ThangTran-fe5oz
    @ThangTran-fe5oz 3 роки тому +1

    You can help me?
    import app from '@src/config/express';
    Unable to resolve path to module '@src/config/express'

  • @muasx1985
    @muasx1985 3 роки тому

    NICE! (with the capitals)

  • @shiroclown6131
    @shiroclown6131 3 роки тому

    Appreciate this but 720p is just not clear enough. Maybe increase the fonts size?

  • @igdev6095
    @igdev6095 2 роки тому +1

    Thanks for your video, it's very very helpful for me. But I have a problem, if I delete a file .ts in folder src then ts complier not auto remove it in folder dist. How can I fix that? Thank u so much!

    • @CodeDunks
      @CodeDunks  2 роки тому

      Just to be sure I understand here, you want the associated deleted file not to be in the dist folder after deleting its source file automatically? Or After you run the build again? Automatically you could maybe look into www.npmjs.com/package/gulp. If build isn't removing them then I would try making your build script something like "build": "rm -rf dist && tsc"

  • @kodingmania1787
    @kodingmania1787 3 роки тому

    Thank you a lot ,, you are helpfully

  • @ВиталийПугач-к8ю

    awesome!

  • @miteshsagar8149
    @miteshsagar8149 2 роки тому

    Awesome 👍😎

  • @jackiedo2959
    @jackiedo2959 2 роки тому

    Amazing walk through bro, thumbs up for this!!!! :)

  • @ММ-ж2з
    @ММ-ж2з 3 роки тому

    great job

  • @christofernguyen6282
    @christofernguyen6282 2 роки тому

    Hi,
    How did you setup the nvm on windows? Great video btw!

    • @CodeDunks
      @CodeDunks  2 роки тому +1

      github.com/coreybutler/nvm-windows

  • @kadeinvictus1759
    @kadeinvictus1759 3 роки тому

    34:23 start: prod uses the "ts-node" and "tsconfig-paths" modules, so in a production environment these modules must be in production dependencies and not in development, right ?

    • @CodeDunks
      @CodeDunks  3 роки тому

      ts-node and tsconfig-paths shouldn't be production dependencies. If you look at their docs they install them as dev dependencies.
      You are correct however if you were to try and take this exact project and run it in production and want to use the yarn start as I have configured. The reason for including those in the start was to fix the MODULE_NOT_FOUND issues for local development when trying to run the yarn start but you are right that it isn't necessarily optimized for production. You can look into this article to possibly improve the project from what I have wrote.
      bgxcode.com/posts/typescript/ts-absolute-import-paths/

    • @kadeinvictus1759
      @kadeinvictus1759 3 роки тому

      @@CodeDunks thank you, I understood and I was able to implement the second method

  • @scotty8789
    @scotty8789 3 роки тому

    Great video! Learned a lot. Couple things not working for me though. Initially, the auto formatting wasnt working but I was able to fix it by setting prettier as my formatter and enabling format on save within the vscode settings. This seemed to work but when adding dotenv-safe I noticed it would not automatically move the import statement above my add function import. Any ideas why this could be? I followed all your steps exactly except for using npm instead of yarn and using json instead of js for eslintrc

    • @scotty8789
      @scotty8789 3 роки тому

      Disabling prettier in vscode as a formatter and enabling eslint as default formatter seems to have fixed it. My code will autoformat with eslint and prettier settings on save. Is this the correct way to set these extensions in my vscode settings?

    • @CodeDunks
      @CodeDunks  3 роки тому

      @@scotty8789 Hey Scott, so there are a couple of ways to mess with your vscode settings. Either how you did it, or you can play around with the settings.json file, you can find this file by doing CTRL + SHIFT + P and typing in settings, then choose open settings (JSON).
      Here is a link to my vscode settings I just added it up to by blog-tube repo
      github.com/leoroese/blog-tube/blob/main/settings.json
      Hope this helps

    • @scotty8789
      @scotty8789 3 роки тому

      @@CodeDunks Thank you!

  • @Confusedcapybara8772
    @Confusedcapybara8772 2 роки тому

    leo, can you share your bashrc? How did you get the git branch names?

    • @michrisoft
      @michrisoft 2 роки тому

      Pretty sure that's just from using the git bash shell

  • @kolynzb
    @kolynzb 2 роки тому

    Thanks bro

  • @dungam9402
    @dungam9402 10 місяців тому

    only one thing to complain please zoom the screen bigger :'(

  • @MrYassineSalhi
    @MrYassineSalhi 3 роки тому

    How would you add react to this? Every time I try their seems to be clashes

    • @CodeDunks
      @CodeDunks  3 роки тому

      Hmm this video was mostly focused for backend project setup while React is mostly for frontend.

  • @fooked1
    @fooked1 2 роки тому

    Thanks for the video. I noticed you added tsconfig-paths, but I don't think you covered what it does or how to use it. Can you describe what value it brings into the configs you setup?

  • @y_thedreamer95
    @y_thedreamer95 3 роки тому

    Didn't like the quality at 720p but there is no more videos about it so thanks anyway.

  • @KunalMukherjee3701
    @KunalMukherjee3701 2 роки тому

    Record in 1080p

  • @talhaklaib4016
    @talhaklaib4016 3 роки тому

    awesome, but please zoom in your screen a little bet

  • @sumitmajumder8003
    @sumitmajumder8003 2 роки тому

    fully rubish. code size is very littlebit. I don't see proper code

  • @CURIOSITYcapital
    @CURIOSITYcapital Рік тому

    Ohhh shit windows. I can't code on windows too hard. Cmd is a crap. Linux is just better in my opinion