Node.js Crash Course Tutorial #12 – Wrap up
- December 25, 2023
- Posted by: MainInstructor
- Category: Go JavaScript Node React
Video Title: Node.js Crash Course Tutorial #12 – Wrap up
Or writing gangster that is pretty much it we have completed our project using node and Express and MongoDB now there are just two very very small things I want to do to finish this off the first one is to replace this delete thing right here with a trash can icon so I’ve
Got this trashcan icon from material icons you can download it from the material icons website or you can go to my github repository and find it there remember the link to that is down below but I’m basically just gonna drag this into my public folder remember everything in the public folder is
Accessible from the front end so it’s an SVG right here we just need to then reference this from our details view over here so instead of this we can have an image now so let me get rid of that and then right here I’m gonna say I want
An image tag then it’s forward slash and it’s called trashcan dots SVG and then the alt is just delete icon all right so if I save this now and I already flesh over here that looks a bit better okay and it still works if we click on it you
Still delete it awesome so the second thing I want to do is I want to address the 404 case for this routes right here so if we type something in here which is some kind of ID that doesn’t actually exist then it’s just kind of hanging and
We don’t go to a 404 page and that’s because if we go to our controller file over here where we try to get the blog details we try to find that ID if there’s an error I’ll be doing is logging that error to the console so
Instead of this what I’d like to do is return the 404 page so let me paste this in response dot render we’re rendering the 404 right here this view and we’re passing the title property remember because we output the title in the head and that is blog not found we can also
Set the status right here to be 4 or 4 if you wish or like so and now if we try to render something like this and press ENTER then it will try to find the blog with that ID but it won’t find it near for we redirect to this 404 page which I
Would implore you to design better the things because currently this looks really pumps but you know this is not a design course this is a node express cost and hopefully my friends you have learned a fair amount during this journey and you in a good position now
To go on and start to learn some more advanced things now you could extend this project further if you wanted to you could maybe add another resource like categories so that you can filter blogs by category you could add an author property to the blog model and
Show that as well you could maybe show the date at which a blog was created on the front end there is loads more you could do with it and all like I alluded to in the very first lesson of this course I will be doing more advanced
Future courses on node pretty soon too so that might include node with firebase admin some kind of authentication flow with no js’ making payments with stripe using node and also I’ll probably do a full stack tutorial using either react of you on the front end as well so the
My friends I really really hope you’ve enjoyed this series and if you have enjoyed it please don’t forget to share subscribe and like that really means a lot and it helps out an enormous amount and if you do want to join the cause and support the channel you can do by
Clicking the join button on the channel home page or underneath the video or right down below you also get a little cool ninja badge next to your name in the comments for that and it’s 99 pence or cents per month and I’ve also created several premium in-depth courses on
Udemy so the first one is modern JavaScript the second one is d3 and firebase and the third one is of UJS and firebase so if you want to take one of those all the links with the discounts automatically applied to them are going to be in the video description
Down below so again thanks so much for watching and I’m going to see you in the very next course
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99
Thank you very much.. This course is really really really very helpful.
I also saw some other videos of your channel, those are also very good. Watching this channel from long time.
Thanks Again. ☺☺☺
Full stack with react please! I’d buy the course
thank you so much for this course mate!!!! really helpful headstart!!!
Wish me luck with my final in 2 hours
This is one of the best structured courses I've ever done. Not just programming, in general. Easy to follow, strong red-line, nicely delivered by the moderator, great pace…AND not trying to push me to buy any product/ service. What more could you ask for? This is the real deal! Thank you, Shaun. Probably see you over at udemy soon!
LEGEND 🙂
finished it. thanks. the basics are well explained step by step which is very important. have understood nodejs, express & mongodb.
The whole series will be VERY helpful in my next projects. Very good work!
Such a great course
thanks a lot!!, excellent course, best teacher
Thank you very much for your great effort on providing such easy-to-approach video clips of fundamental NodeJs
How do I deploy my app to GitHub
yo this course really helped thanks man
Amazing course Ninja! Very well explained, thanks 🙌
+1 nice, you awesome. Really thank you
Just finished the series. I didnt work through it. I just watched the whole thing all the way through. Im definitely wayyyyyy much more knowledgable than I was before! THANK YOU!
Awesome awesome awesome!
Please can you make a video on micro services using nodejs, I've been looking for your tutorial on it. But it seems like you don't have any on micro services
All I can say, It was worth it,
I learn a lot of new things.,
Thank you
what can i learn after this tutorial for more advancement in node js bdw nice tutorial you present to us!!thank you for this
it was really helpful
Aftering finishing this course, I just want to let you know how much this course and your channel have helped me. It's never enough to finish it with just a thankyou. After I get a job, I'll join membership to this channel and that will be my token of appreciation to my master yoda from his padowan.
Learned Flutter. Learned Node, Express and MongoDB. If I ever had to learn something else I am sure this will be the first place I'll look. Thank you so much.
Awesome stuff. Thoroughly enjoyed the series. 👏👏