How To Use TypeScript With Express & Node

  Рет қаралды 77,149

Colt Steele

Colt Steele

Күн бұрын

Пікірлер: 157
@YoungUn
@YoungUn Жыл бұрын
This video is everything a KZbin video should be. It throws some shade at other KZbinrs, features a bird crashing into your window, and maintains an overall relaxed demeanor. Good job.
@akramkamolov6961
@akramkamolov6961 2 жыл бұрын
He is actually a hilarious teacher and in the beginning he is lowkey critisizing other youtubers 😂 love that
@nicholasmaniccia1005
@nicholasmaniccia1005 2 жыл бұрын
There is something about services like restaurants and private teachers that have an aversion to doing the silly dumb things that make large crowds think something is good but have no effect on the service, they are usually the people who pour time into the actually important details and therefore become hidden gems.
@arsnakehert
@arsnakehert Жыл бұрын
I don't think he's criticizing other KZbinrs so much as he's lamenting the reality of KZbin where those silly-looking thumbnails simply tend to get more views
@DruSerkes
@DruSerkes 2 жыл бұрын
Between the bird in the window, and the shade for other youtubers, you almost can overlook the fact that Colt consistently cranks out the best instruction on KZbin for this stuff
@ssumit196
@ssumit196 2 жыл бұрын
My Brain cells multiply automatically, while hearing Colt's voice.
@jellyfish1772
@jellyfish1772 2 жыл бұрын
Same🔥
@jaybarls
@jaybarls 8 ай бұрын
Great tutorial as always, makes combining these technologies really approachable! Loved the satire of YT thumbnails too :p Just a note though for Windows users having trouble with the "dev" script (who haven't yet reached that part of the video where Colt covers this - I like to code along and pause/ensure everything works as expected!) - you won't be able to run both nodemon and tsc -w concurrently with just the '&' operator. Instead you can install a library like concurrently: npm install -D concurrently And then update your package.json script like so: "dev": "concurrently \"tsc -w\" \"nodemon dist/index.js\"" Now running with 'npm run dev' will start your server as expected, as well as TS in watch mode.
@EpistemicFomo
@EpistemicFomo 10 ай бұрын
I used your bootcamp on Udemy to learn web development and now came across this video here! Amazing explanation as always and the best teacher ever! Thank you :)
@pim8268
@pim8268 Жыл бұрын
This is an outstanding teacher. I graduated from his Bootcamp on Springboard. I like that he's seams humble. Always putting himself in the shoes of his students.
@williamowusu7778
@williamowusu7778 3 ай бұрын
Thanks a lot. I am coming from watching your express js course and I can say I have really learnt a lot.
@h88k988
@h88k988 8 ай бұрын
Really appreciate going over the nuts and bolts of setting up TypeScript. It's always useful to see when each piece (or package) needs to by added, along with an explanation of why. Thanks for the video. Keep them coming.
@creemcheem
@creemcheem Жыл бұрын
This is extremely helpful, thanks!! Not enough channels are this concise. Here's a comment for the algorithm.
@mackenmd
@mackenmd 2 жыл бұрын
I love these basic plumbing videos, Colt! Thank you very much and good luck to you.
@Cpt_Chirp
@Cpt_Chirp 10 ай бұрын
For windows users having trouble with the dev command (tsc -w & nodemon dist/index.js) you can instead set up your nodemon.json file in your root directory and define it like this: { "watch": ["src/"], "ext": "ts", "ignore": [], "exec": "tsc && node dist/index.js" } then just set your dev or server command or scripts to be "scripts": { "dev": "nodemon" } and nodemon will automatically watch those files and recompile them before relaunching your server. (You will need to move your index file into the src directory with my setup.)
@borislavvucicevic6667
@borislavvucicevic6667 5 ай бұрын
Thank you bro!
@olalekanbello6386
@olalekanbello6386 5 ай бұрын
Thanks so much. It helped.
@pajosko4941
@pajosko4941 2 жыл бұрын
Colt you just saved my day. I am currently working on my application of my bachelor thesis and I could not get it to work. Thanks Colt, you really helped me!
@developerpranav
@developerpranav Жыл бұрын
Thanks a lot! I am new to typescript, and was struggling for a while to set it up with Express. I got it running within minitues thanks to your video
@gregmaxedon
@gregmaxedon Жыл бұрын
All the info I needed to start developing a Node.js server with Typescript. Thank you!
@ROVAKAN
@ROVAKAN Жыл бұрын
very good video . instead of just writing down configrations explaining why we need what. very informative
@sajaljaiswal1659
@sajaljaiswal1659 2 жыл бұрын
Love your teaching style! Best teacher for development.
@andresvodopivec5950
@andresvodopivec5950 Жыл бұрын
Super simple and precise explanation. As a newby, you got me onboard in 17 min. Thanks!
@The14Some1
@The14Some1 Жыл бұрын
11:38 to make it cross-platform you can prefix both commands with "start /b" command. This would run them concurrently without requiring to install additional packages and this would work flawlessly for windows/unix.
@jiix4723
@jiix4723 2 жыл бұрын
Currently on JS in your bootcamp! Youre a great teacher and your humor is fantastic
@noormuhammad888
@noormuhammad888 Жыл бұрын
Can you share link of his bootcamp?
@balanepalaiyathane9714
@balanepalaiyathane9714 3 ай бұрын
Very nice and informative every new leaners has enough information from your tutorials, thanks again
@JeremiahPeoples
@JeremiahPeoples 2 жыл бұрын
Huge fan, thanks for teaching me how to code 🙏🏾
@serialchiller4124
@serialchiller4124 2 жыл бұрын
Great content overall! You know you're great instructor when you dont waste a lot of time explaining. Dude not even try, but the information is really clear.
@pnworks9186
@pnworks9186 2 жыл бұрын
I am almost finished your TypeScript course sir
@dominicpatrick6578
@dominicpatrick6578 Жыл бұрын
Being only a few years in programming, I've practiced a few languages Vite, Typescript and Tailwinds is the avenues I'm going on. I had a problem with the npx tsc creating the dist folder, after researching I found placing a empty ts file in the directory worked! YES!!
@999memeworld
@999memeworld 2 жыл бұрын
You are the best teacher i ever seen sir
@vytasgavelis
@vytasgavelis Жыл бұрын
Thank you 😄 . Setting up nodejs project for the first time for production use and got overwhelmed at first from all the possible config options...
@limus_
@limus_ 2 жыл бұрын
Some people are teachers by nature, very helpful video, thank you so much.
@pim8268
@pim8268 2 жыл бұрын
Love this guy! Great teacher, always trying to make it simple.
@jellyfish1772
@jellyfish1772 2 жыл бұрын
An amazing teacher, an even better human being❤️
@sanjayguwaju
@sanjayguwaju 2 жыл бұрын
It's Awesome Thumbnail Colt. I am attracted with it ☺.
@gendash
@gendash 2 жыл бұрын
An awesome video! Well explained, brief and to the point. Many thanks Colt!
@123mark132
@123mark132 2 жыл бұрын
You can skip the whole dist folder and npx tsc process if you use ts-node. Then you can just use nodemon index
@atifulislamasif7893
@atifulislamasif7893 11 ай бұрын
Your VDOs are very helpful.
@UAng-ro9kt
@UAng-ro9kt 2 жыл бұрын
You saved my day! Soooooo much helpful.
@juliohintze595
@juliohintze595 2 жыл бұрын
A light themed terminal? Are you insane? Also, good content. Keep it coming!
@diveshkumar3823
@diveshkumar3823 11 ай бұрын
dude you are life savior
@anox8633
@anox8633 2 жыл бұрын
glad you post more often on youtube
@sakshamyadav3203
@sakshamyadav3203 Жыл бұрын
dev script does not work for me, tsc -w holds the terminal and until I stop it nodemon does not start, is it because of newer version of node or am I doing something wrong? Please help!
@virtualreality3513
@virtualreality3513 Жыл бұрын
same for me. Did you find any solution to it ?
@sakshamyadav3203
@sakshamyadav3203 Жыл бұрын
@@virtualreality3513 I found a work around. 1. Install nodemon and ts-node 2. create a nodemon.json in root directory with following config: { "watch": ["src"], "ext": "ts,json", "ignore": ["src/**/*.spec.ts"], "exec": "npx ts-node --esm ./src/index.ts" } 3. Run 'nodemon' cmd or 'npx nodemon' if not installed globally
@ziadghouzlani4220
@ziadghouzlani4220 Жыл бұрын
@@virtualreality3513 "dev": "concurrently \"npx tsc -w\" \"nodemon dist/index.js\""
@farouksabry
@farouksabry Жыл бұрын
*ON WINDOWS* 1. npm install --save-dev concurrently 2. add in package.json: "scripts": { "build": "tsc", "start": "node dist/index.js", "watch": "tsc -w", "nodemon": "nodemon dist/index.js", "dev": "concurrently npm:watch npm:nodemon" } 3. npm run dev
@amiralikiabi9069
@amiralikiabi9069 2 жыл бұрын
Best teacher.
@suynsiuy8093
@suynsiuy8093 2 жыл бұрын
I'm so confident, yeah, I'm unstoppable today
@Basil_Porphyrogenitos
@Basil_Porphyrogenitos Жыл бұрын
You are a very good explainer, thanks man.
@sainathpoojaryy
@sainathpoojaryy Жыл бұрын
which icon pack do you use for vs code? does anyone know?
@redalert250
@redalert250 Жыл бұрын
you are the best
@KedarBasutkar
@KedarBasutkar 2 жыл бұрын
Awesome video as always Colt!
@hijaazmuhammed2105
@hijaazmuhammed2105 Жыл бұрын
10:44 everything is working perfect, and there is no error while compiling, but the server is not starting and the console.log is not logging in the console,? any idea what happened??
@ProwlerDigital
@ProwlerDigital Жыл бұрын
any update? same here
@ProwlerDigital
@ProwlerDigital Жыл бұрын
Solution deeper in comments by @farouksabry
@mohammadyounoch5952
@mohammadyounoch5952 Жыл бұрын
Easy and effective explanations. Thanks.
@sakhawathossen2104
@sakhawathossen2104 Жыл бұрын
Hi, This is the first time I am seeing you in youtube. Thanks for your javascript data structure code on udemy. It was great. Andyway, Can you please increase the sound a bit better? the sound is a bit low even in when I am increased my sound to full. Anyway, welcome to youtube Sir.
@joshuaedward6893
@joshuaedward6893 7 ай бұрын
Thanks, i got what i wanted from this 👍
@MrVipulLal
@MrVipulLal Жыл бұрын
Comprehensive video! Many thanks!
@lttungitbe07072
@lttungitbe07072 Жыл бұрын
You saved my day! So much helpful. Thank you.
@alegian7934
@alegian7934 2 жыл бұрын
always nice to clear up the basics sometimes 😉
@c__0ne
@c__0ne Жыл бұрын
thank you for this! one question: how would i debug the backend in this setup usign vs code?
@FelicianoGC
@FelicianoGC 2 жыл бұрын
Hi, Colt! I'm a big fan from your content on Udemy and am currently struggling with Scope as in will I ever be ready to call myself a developer. Can you maybe someday talk about "What makes a proficient developer?"😬 Thanks for your videos!
@kennedydre8074
@kennedydre8074 4 ай бұрын
Hi thank you for the video, so you don’t use ts-node at all? Cos I’ve been having a horrible time trying to make ts-node work when I have my module and module-resolution set to NodeNext on my tsconfig.json file.
@vladshepeluk7442
@vladshepeluk7442 5 ай бұрын
Brooo, you can cook! thank you very much!
@yungapplemoose735
@yungapplemoose735 Жыл бұрын
the bird fucking killed me
@surajanshrestha5502
@surajanshrestha5502 2 жыл бұрын
THANK YOU SO SO MUCH. YOU EXPLAINED EVERYTHING!!!
@СергійМалишко-х5щ
@СергійМалишко-х5щ Жыл бұрын
Thank you! This video is very helpful for me!
@thehumanalive
@thehumanalive Жыл бұрын
Excellent and informative tutorial, thanks !
@gerardo246
@gerardo246 2 жыл бұрын
Hi, how should I declare and where the static folder, I need to copy the folder in every build with a script command in package.json or I need to configure the TSconfig file
@angga6008
@angga6008 2 жыл бұрын
thank you whoever you are
@breezycodes
@breezycodes Жыл бұрын
Good start
@saiminpyaekyaw3057
@saiminpyaekyaw3057 Жыл бұрын
excellent tutorial. Btw, you should try wow face for your thumbnail haha
@barreyli
@barreyli 6 ай бұрын
bro the intro roast was a insta like 🤣
@loll3995
@loll3995 Жыл бұрын
This is a great tutorial , thank you 🙏
@bryanjesediaz873
@bryanjesediaz873 Жыл бұрын
Really useful tips here... Thank you a lot
@hdm_vision
@hdm_vision Жыл бұрын
Wow great video,
@sobeyyy
@sobeyyy 2 жыл бұрын
Thank you Colt Steel!
@pashadotcenko7391
@pashadotcenko7391 Жыл бұрын
thank you very much)) you have explained very well))
@KamalSingh-tq8hk
@KamalSingh-tq8hk Жыл бұрын
Great video. Loved It!!
@renzobelon609
@renzobelon609 10 ай бұрын
Newbie question: Do I need to use npx if TypeScript is installed as a dev dependency? Thanks!
@techexec
@techexec 2 жыл бұрын
If I don't hear "chicken" in the video, then it's not from Colt Steele 😄. He's really great at teaching.
@MailsonWei
@MailsonWei 2 жыл бұрын
how do i combine it with front end framework like angular, react and vue? like a tech stack. where i have nodejs as backend and frontend using angular/react or vue
@mateogomez-randulfe7394
@mateogomez-randulfe7394 7 ай бұрын
How can we use nodenext and path aliases?
@MrRorypam
@MrRorypam 9 ай бұрын
This was really usefull. thanks
@abdullatifnizamani6850
@abdullatifnizamani6850 10 ай бұрын
hey, where you been ? i got your javascript course , which you made in 2014,, since then I didn't saw you,,
@lakshman587
@lakshman587 2 жыл бұрын
Man you are really awesome!!!
@lily-rx6xu
@lily-rx6xu 2 жыл бұрын
"im back and the bird is no longer with us" 😂😂😂😂😂😂😂😂😂😂😂😂
@kiddhkane
@kiddhkane Жыл бұрын
Very useful video. Thank you!
@rakhshankhan833
@rakhshankhan833 6 ай бұрын
Thanks sir for this awesome video
@alexismorales8364
@alexismorales8364 2 жыл бұрын
In colt I trust 🙌
@theoojochegbe4966
@theoojochegbe4966 2 жыл бұрын
what will the vercel.json look like to deploy this app to vercel?
@raju.sarvasiddi
@raju.sarvasiddi 3 ай бұрын
How to deploy the same on AWS lambda using GitHub actions
@HeriYantodotDev
@HeriYantodotDev Жыл бұрын
Thanks for this video 👍.
@guba7714
@guba7714 2 жыл бұрын
Yes it can - don't despair!
@sujezz
@sujezz 2 жыл бұрын
Would be cool if you'd continue the topic.
@n6ls0n
@n6ls0n Жыл бұрын
Tut so good animals are literally killing themselves to come watch 11:10
@producedbyjayzziii
@producedbyjayzziii 2 жыл бұрын
Hi Colt! Thank you for the contents and it helps us a lot. Can you release a course about Golang/Go?
@kylesera2087
@kylesera2087 2 жыл бұрын
Great Guy😁🙂
@shashankbhosagi
@shashankbhosagi 11 ай бұрын
Yo perfect thenks 🥳🥳
@mdkawsarislamyeasin4040
@mdkawsarislamyeasin4040 Жыл бұрын
Need an advance setup video
@prince5922
@prince5922 2 жыл бұрын
Colt can we finally get a node js course? That's the only one missing from your courses :)
@Samuftie
@Samuftie 2 жыл бұрын
thanks. very clear. I still don't understand why use rimraf instead of the traditional rm -rf, anyone can help? thanks!
@gouravsingh9146
@gouravsingh9146 2 жыл бұрын
good nice short crisp video
@ROVAKAN
@ROVAKAN Жыл бұрын
i hope the bird is ok
@okaybossiamonyoutubeakkskd
@okaybossiamonyoutubeakkskd 2 жыл бұрын
hey colt! i hope you are doing great! how are your chickens doin
@jerryarekhandia1003
@jerryarekhandia1003 10 ай бұрын
Excellent!
@GKrider7727
@GKrider7727 2 жыл бұрын
soft soft or won't touch it. It is different...
@frankhernandez4057
@frankhernandez4057 2 жыл бұрын
Is Colt installing TS locally or globally?
How to Setup Node.js and TypeScript
20:18
Better Stack
Рет қаралды 4,4 М.
as const: the most underrated TypeScript feature
5:38
Matt Pocock
Рет қаралды 130 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 303 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 667 М.
Node FINALLY Supports TypeScript
17:51
Theo - t3․gg
Рет қаралды 84 М.
Typescript API in NodeJS / Express in Depth [Part 1]
38:10
The Nerdy Canuck
Рет қаралды 16 М.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Maximilian Schwarzmüller
Рет қаралды 76 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 917 М.
TypeScript Tutorial for Beginners
1:04:28
Programming with Mosh
Рет қаралды 1,4 МЛН
Node.js Doesn’t Suck Anymore
16:59
Web Dev Simplified
Рет қаралды 134 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН