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!
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 👍
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!
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.
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!
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"
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 ?
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/
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
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?
@@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
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?
It was the best node environment that I have seen so far, it was really great, thank you
I am a front-end developer, but your tutorial very useful for me, great job thanks!
Wishing for more than a million views!
Appreciate it Rinat!
👌, thank you for taking time to explain why you did something and a brief description on what it's actually doing .
This was such a solid first video Leo!
Really appreciate it and can't wait to go through more. 🤺
i'm korean university student. Despite my poor English, your explanation was very helpful. Thank you !! 👍
The knowledge you've given us in this video is priceless. Thank you! 🙌
AQQ
This is exactly what I was looking for. Thank you
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!
Glad I was able to be of some help!
This is amaze-balls! Thank you Leo. You helped me tremendously. :)
Such an awesome/comfortable environment, Hope to see more
I should put this on repeat just because you deserve a lot views.
Very well structured and explained, top notch!
greatly technical and useful video. Please keep them coming. thanks a lot
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..
You're one of the best dude, thank you so much
This is such informative and literary everything I needed.
Awesome walkthrough Leo, good stuff! 🚀 subscriber++
wow. this is the best practice ever!
Too good Leo!! Thank you very much! :-)
Great video, you really cover everything from A to Z. Thanks!
thanks leo for this gold content. Keep going :)
Great work waiting for more videos
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 👍
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!
@@CodeDunks no need for apologies, it happens, we learn from mistakes,you are doing a great job 👏👍
This is helpful. Thank you
This is solid. Thanks
awesome !.Please keep them coming.
13:21 If you are not familiar with Prettier, that's me. LMAO XD
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.
Thank you, Leo.
NIce work, keep it up bro
You can help me?
import app from '@src/config/express';
Unable to resolve path to module '@src/config/express'
NICE! (with the capitals)
Appreciate this but 720p is just not clear enough. Maybe increase the fonts size?
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!
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"
Thank you a lot ,, you are helpfully
Glad I could help!
awesome!
Awesome 👍😎
Amazing walk through bro, thumbs up for this!!!! :)
great job
Hi,
How did you setup the nvm on windows? Great video btw!
github.com/coreybutler/nvm-windows
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 ?
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/
@@CodeDunks thank you, I understood and I was able to implement the second method
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
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?
@@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
@@CodeDunks Thank you!
leo, can you share your bashrc? How did you get the git branch names?
Pretty sure that's just from using the git bash shell
Thanks bro
only one thing to complain please zoom the screen bigger :'(
How would you add react to this? Every time I try their seems to be clashes
Hmm this video was mostly focused for backend project setup while React is mostly for frontend.
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?
Didn't like the quality at 720p but there is no more videos about it so thanks anyway.
Record in 1080p
awesome, but please zoom in your screen a little bet
fully rubish. code size is very littlebit. I don't see proper code
Ohhh shit windows. I can't code on windows too hard. Cmd is a crap. Linux is just better in my opinion