This is my most comprehensive video to date. In this video I cover absolutely everything you need to know about Node.js, MongoDB, and Express by building out a complete blog with markdown support. This video covers a ton of content from the basics of setting up an Express server to the complex structure of building a full stack web application. If you are wanting to get started in web development then this is the perfect tutorial for you.
📚 Materials/References:
GitHub Code: https://github.com/WebDevSimplified/Markdown-Blog
MongoDB Install Tutorial: https://youtu.be/wcx3f0eUiAw
Async/Await Tutorial: https://youtu.be/V_Kr9OSfDeU
🧠Concepts Covered:
– How to create an Express server
– Connecting MongoDB with Express
– The structure of a full stack application
– How to setup database hooks
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#Node.js #WDS #Express
thank s
Great Tutorial…nicely Explained
Thank you very much for sharing this.
Wanted to know if I can add user based system wherein admin can only have edit and delete option. If yes, please guide me.
Am I the only one where the connect function for mongoose doesn't work? It always crash
Awesome.
This is all someone needs to know to remember the Node, Express and Mongo after forgeting
Hello, I am having an issue with the Mongoose API, when I save a document I want to save on the collection "Accounts", even though I write like that, on the database it creates another collection with the name "accounts", and I end up having two collections with the same name, but the only difference is that one has a capital letter while the other one doesnt. And I want to save on the capital letter, how can I do that?
Btw I must appreciate the fact that you made this tutorial, really straightforward, keep up doing a good work like this 🙂
Just Amazing!!!!!! I would say coders life summed up in an hour! God Bless you Kyle!!
does this means any one can modify your website once you would have publish it?
my css doesnt load up can u show how to do that.. when I run my server from go live option everything looks fine , but when I use local host.. its just HTML nothing else
It's a fantastic knowledge given from you Kyle, thanks a million.
I'm a bit afraid to say that I couldn't make the "Save" going trough the database I could see my "article" and "articleSchema" both has the whole information, however the try never runs, always it goes to the catch {scope} straight away. 🙃
FYI – I suspect it is a version difference with dompurify or jsdom because at the end my forms wouldn't submit at all until I copied your 'nodemodules' folder into my project directory and removed the existing folder
just what is needed Thank you very much
How would I go about creating blog articles where I can upload multiple photos in different areas of the article? I watched the mybrary tutorial but that only showed how to upload a cover image for each book/article?
Hum… "MongoParseError: option userunifiedtopology is not supported" 25:10
now what… =/
In the first 15 min I am your fan man…. your teaching way is excellent…
Thank you
This project is look like simple but mostly site use this base in back-end thats why this project can use develop big projects and thanks
thank you so much. this is real deal. i wish the efforts you are putting in your content may reward you beyond your cherished desires.
When I'm trying to set the POST method in the new.ejs, I keep getting the error
"Could not find matching close tag for "<%="."
Even when I try copy and pasting his code just to find out where the syntax went wrong, it gives me the exact same error.
The shear amount of "developers" in this comments section that expect someone to just solve their problem for them with little to no research or effort on their end is exhausting. You want to be a developer? This is part of being a developer. You are a problem solver. Start learning how to problem solve or your career as a developer is going to non existent. It's one thing to ask for help after you've spent hours upon hours researching on your own and trying out possible solutions. Its quite another to simply beg strangers online to handle your work for you with no effort on your end. The reality is that if your doing this, and this is your go to mentality – you are not learning anything anyways aside from how to type quicker and anyone dumb enough to hire you is going to be incredibly disappointed.
My delete button does not work, I did done in this video and instead of it deleting anything it just takes me to a new page and says Cannot DELETE /articles/the id of the article . How do I fix this?
Can u pls show us how to deploy to linux server,like DIgital Ocean and IIS sever. I have both type , just for learning.
41:10
you are literally my savior, thanks a lot
solved – TypeError : marked is not a function , solution – const {marked} = require("marked") in article.js file. I have completed the project. Thank you for sharing your knowledge.
I missed you setting up the MongoDB. Did you do that prior to the video?
That moment when you have to watch the hole video in 0.75 speed
so so usefu
why dont u use typescript?
Can u make a video that the blog can upload image too?
Where did you use the mongoDb? i skipped through timestamps but didn't find it.
I have never finished a full tutorial building a complete project until this one! Wow so helpful and helped me understand a bit more of how to build something more full-stack! Thank you so much!!! Hope to see more!!!!
Wonderful tutorial. Thank you!
As of July 2023, for timestamp 54:26, use this code for sanitizing:
if(this.markdown){
this.sanitizedHtml = dompurify.sanitize(marked.parse(this.markdown))
}
else{
console.log("Error")
}
next()