NodeJS and ExpressJS front to back. In this course we will look at the following concepts… Express Installation & Setup Middleware Routing Template Engines …
Original source
NodeJS and ExpressJS front to back. In this course we will look at the following concepts… Express Installation & Setup Middleware Routing Template Engines …
Original source
48 responses to “ExpressJS Crash Course”
please share source code……..thanks a lot!
Not at all confusing! – A great starter for learning a slew of technologies to build my first web app ๐
Video still relevant as hell, thanks this is perfect for my level.
Hi there, good tutorials, but do you mind sharing the source codes?
this is awesome, skipped all the unnecessary and right into the good stuff! Thank you
req.parama.id
Waiting for the moment you would see it haha
thank you for all videos
so if we put the html, css and js files for the front end in the public folder we can consider that as an example of client-side rendering of the website / app and that will be static and if we render views from the server however, it'll be an example of server -side rendering and that'll be dynamic. am I right? Can somebody please clarify?
Really great video!! Only a hand full of videos on YouTube are as good as yours! Cheers and Thank You.
Thank u so much got an idea of expressjs.
Could you upload more videos about node js ?
Great video!!!!!!๐๐๐๐๐๐๐๐
So, I watch MERN playlist, then I think I need to go to React & Express Starter, then I end up to this video. LOL what a callbacks !
I've been having a hard time grasping the concepts of node.js and express, but this video cleared a lot of worry and doubt that I had. Awesome! Thank you for always having great content!
at 59:44 if i add a new user to the database it doesnt show up on the website, and when I do db.users.find() it shows the new user as being the only one added!
Please post your code in sandbox or github or any others to copypaste it
thank u thank u thank u so much. this is very very useful to me. no one can replace this tut in this topic. again thank u so much
I did some basic course assignments with node.js and express but my understanding wasn't clear….I am about to do another assignment after many many days and now this video is helpful to sharpen my understanding of basic things.
Around minute 17 you mention that the "order" (of app.get and logger) matters. Could you explain why? Thanks
Thank you! ๐
u really awesome Man , super sweet awesome.
Loving this tutorial, at 43:33 I wanted to note that it seems the latest version of express-validator has changed the way things are done. See https://express-validator.github.io/docs/index.html for those who are also following along in 2018.
๐๐๐๐๐
great stuff again. thanks do you have a link to code?
pretty nice!
Excellent tutorial! I've had a hard time understanding some of the other tutorials out there, but yours are always clear and well thought-out. I especially like that you get us to build everything from scratch rather than use a tool to generate all of the starting code. It makes it easier for beginners to fully understand the foundations on which they will build.
Thank you so Much
Brad,
At 1:10:37 you say "are these IDs the same…? No, they're different." They actually are the same. I was following this tutorial to build an app for a class, and… yeah, the IDs are the same. It was confusing the hell out of me because Delete always works on the first entry in the list… The jQuery selector seems to be targeting the first element in the DOM with the class name you specified.
I am getting "not found error- 404 " when I click on Delete. Any idea why?
Thank you so much !!!! I learnt a lot.. very nice and patient explanations
window.location.replace('/'); is not working at 1:14:40 because the delete function is sending a redirect instead of sending a response. Using res.send(); instead of res.redirect('/'); works.
please use const or let, nobody uses var anymore. Also it's "and" not "ant"..english lang
thank you sensei
see in 1.25 speed.you are welcome.
It'd be great to have this tutorial updated with the new JS syntax, maybe vanilla JS instead of jQuery and Mongoose instead of Mongojs.
In any case, great video!
Just wondering how to go about an update. I tried two different ways with little success. Would I use "app.put()" ? Code is here: https://github.com/jrod730/NodeJS_MongoDB_CRUD/blob/master/app.js just 'CTRL + F' and search 'TODO' its the TODO in the comments.
The best crash course on Nodejs in Youtube! Really.
I watched the entire video, programmed all the code together and the results were the same of the video.
I made some notes and now I'm feeling that I'm understanding what's going on.
Brad thanks a lot. Every time I don't get something in the programming world, I come here and watch a tutorial from yours.
You are saving lifes, brother!
Express is totally unnecessary, write web apps with vanilla node instead, it's easier than you think.
In JavaScript,what is the difference between:
function() vs () =>
I'm just curious because in most of my react and express code I generally stay away from function() but it seems like it is the same exact thing as () =>
This is the best nodejs video I have seen so far. You have great skills making it look very very simple to learn. Thanks for the video. I am very confident now and got feeling that I learnt end-end nodejs mongodb express web application
How do you fix the "Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters.
". It seems to work if you put in an individual ObjectId. e.g 'db.users.remove({_id: ObjectId('123123324234')}, function(err, result){' and if you put no arguments, the entire databse gets removed. eg. "db.users.remove({_id: ObjectId()}, function(err, result){". What code do u need to put for it to delete the 'selected' user/row.
NPM = Node Package Manager. It's a package manager. Not node package modules.
Good afternoon Mr. Brad nice video. Btw my problem is express-validator on errors is not working, seems like any errors in this script already i type right now. I'm already used express-validation v5.2.0. Any solutions please. Thanks in advance Mr. Brad and sorry about my bad English lol ๐
github link?
at 1:14:40 I think the Jquery isn't redirecting from the .done() block of xhr because you didn't return any response from the app.js. Upon successful deletion, you could have done something like res.send({success:true}) and then check like if(response.success) inside the .done() block in Jquery.
PS: I know it's a little (almost 2 years) late but I have just watched this video.
PPS: I am new to your channel and I absolutely love what you teach and the way you teach. Thank you Mr Traversy!
Thanks for the awesome tutorial it is really helpful. would love to know how to get rid of "Cannot find module 'customerapp' error"? anyone?
i wish you'd post the code
PSA:
" app.use(express.static(path.join(__dirname, 'bin'))); " needs to be AFTER this line
" app.get('/', function (req, res) {
res.render('index');
}); "
//IDK why but flipping the order that was shown in video made it work for me ( i got a lot of shitty code in my file)