Тёмный
No video :(

Setting Up Project - NodeJS Blogging Application with MongoDB 

Piyush Garg
Подписаться 162 тыс.
Просмотров 41 тыс.
50% 1

► Master NodeJS Playlist: • Master NodeJS
Source Code: drive.google.c...
In this tutorial video, you will learn how to setup the project for our blogging application.
► Complete Full Stack Web Developer RoadMap 2023: • Complete Full Stack We...
► My Website: www.piyushgarg...
My Gears
► My Girlfriend: amzn.to/3WD6FRp
► Apple MacBook Laptop: amzn.to/3WBJgQn
► Anker USB Hub: amzn.to/3GhZSr0
► Blue Yeti Microphone: amzn.to/3YKZ9FT
► External 27” Monitor: amzn.to/3Vp3xaO
► Logitech MK295 Wireless Keyboard and Mouse: amzn.to/3DuL1bB
► Seagate Expansion 1TB External HDD: amzn.to/3QMm5Q8
► Tripod: amzn.to/3S4OwK4
► Ring Light: amzn.to/3YLf8DR
Disclaimer: All the links above are affiliate links.
Social Links
► Twitter - / piyushgarg_dev
► LinkedIn - / piyushgarg195
Video Titles
Blogging Application using NodeJS
Blog Nodejs MongoDB
Tags
#nodejs #authentication #javascript #expressjs #mongodb #mernstack #developer #api #https #server #javascriptinhindi #webdevelopment #webapp #realtimeapp #serverside #nonblockingio #tech

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@mma-dost
@mma-dost Год назад
Backend development is some real shit man !! Thanks bhaiya
@allahs_creation233
@allahs_creation233 Год назад
can you provide source code
@ayushpanchal2053
@ayushpanchal2053 4 месяца назад
@@allahs_creation233 type on your own
@your_Aats
@your_Aats 3 месяца назад
@@allahs_creation233 Check Description !!
@karanbisht2176
@karanbisht2176 5 месяцев назад
38:16 NOTE - line no. 53 avoid writing throw new Error , you can new Error only because when you wrote throw now Error you got err in code execution. Thank you
@choudharyysaab0117
@choudharyysaab0117 10 месяцев назад
One of the biggest teacher specially BACK-END(express.js)
@technologicalvivek7510
@technologicalvivek7510 6 месяцев назад
amazing way of explanining.Bhaiya aapne ek ek line yaad karwadi iss code ki mujhe.Ab interviewer ne pucha toh pakka bata payenge. iss video ke sath mera backend ka or serverside rendering aur aache se hands on ho gya .Thank you bhaiya.
@himanshu7351
@himanshu7351 11 месяцев назад
Really Bhaiya aapke pdane ke trike se lgta hi ni ki node ya backend jaisi complex chij krre h ❤❤❤❤❤❤
@Black-Curtains
@Black-Curtains Год назад
अति उत्तम ट्यूटोरियल प्रेशित करने के लिए धन्यवाद, Waiting for next video ...
@him99ful
@him99ful Год назад
Your teaching way is very point to point..love that..
@piyushgargdev
@piyushgargdev Год назад
Glad to hear that
@user-tk2rb5xp1i
@user-tk2rb5xp1i 28 дней назад
Maza aa gya
@mayurhalli148
@mayurhalli148 Год назад
Amazing way of explaining!!! Just one suggestion try to add topicwise timestamps.
@AnkitGupta-lr1qq
@AnkitGupta-lr1qq Год назад
NOTE: Makre sure add "pre" middleware before creating the model from the userSchema. It wasn't working for me and I spent some time before I figured this
@TakeMydick-ii4mb
@TakeMydick-ii4mb Год назад
What was the error you were getting? For me it's asking path password required
@karnwalcoder
@karnwalcoder 4 месяца назад
No error generated, but you can't get salt and hashed Password in you DB. Thanks
@surajcreations5894
@surajcreations5894 4 месяца назад
Even before adding pre middleware before schema, it is not working
@gamingwithasmile268
@gamingwithasmile268 Год назад
We can use bcrypt module to hash password...that will be more easier then this one ig
@sachineditsx
@sachineditsx Год назад
great sir you are explain code very simple way . thank you sir
@gajendramehta6550
@gajendramehta6550 Год назад
One video on what is microservices?
@avknash175
@avknash175 22 дня назад
do we need to store salt in a db? If yes, can u please tell us reason behind it
@user-wl2sd4qn1y
@user-wl2sd4qn1y Год назад
awsm sir const{createHmac,randomBytes}= require('crypto') i just removed import and everything working fine thanks for your tutorials
@allahs_creation233
@allahs_creation233 Год назад
can you provide source code actually i am in hurry
@mma-dost
@mma-dost Год назад
Bhaiya if we were going to use react in the front end will there be any change in the backend like we are making in this way , will we have to change our mindset or way we develop backend for single page applications.
@piyushgargdev
@piyushgargdev Год назад
Nope, Just one change, Instead of res.render we’ll send JSON response using res.json. Rest everything would be same
@mma-dost
@mma-dost Год назад
@@piyushgargdev thank you bhaiya for replying
@vishalpokharel1642
@vishalpokharel1642 7 месяцев назад
Error: fullName is not defined. Make sure that express.json() middleware is added before your route definitions in your Express app.
@iamakashkumarram
@iamakashkumarram Год назад
Sir Please ReactJS ka Advance topic bhi cover kariye.
@nikhilkatiyar7984
@nikhilkatiyar7984 5 месяцев назад
Sir aap env. Sample file bhi upload kiya kro... It will be helpful for us
@vilassonawane44
@vilassonawane44 4 месяца назад
i am using mvc pattern but it doesnt work sir when user login and getting same thing how to solve it
@coderkashif
@coderkashif 9 месяцев назад
i want to understand why this is not working in arrow function ... I didn't find the video in your playlist..
@ibntofajjal
@ibntofajjal Год назад
awesome bro...
@sayantanX
@sayantanX Год назад
in 16:6 , mujhe samajh nehi aya. agar user modified hi nehi hua aur hum usee return kar de rahe toh kaise hashedPassword generate hoga?
@AkashGupta-pc2cb
@AkashGupta-pc2cb Год назад
Match password function kuch alag sa kyu banaya hai aapne?? Using userSchema.static?
@sportsstimulant4228
@sportsstimulant4228 Год назад
Bhai ek doubt tha clear kar do , normal html css javascript per ya bootstrap per agar koi website banaye or agar chaiye dynamic data aye iha image to usko html page per views karne k liye ejs template engine use hota hai na ? Kya is video me ya apke playlist per Aisa kam kiya hai ? Abhi tak to 5 min per pata chal giya kitna smooth ap guide kar rahe ho abhi tak bahut video dekha aise easy way me nahi laga ,is liye questions kar liye ..
@piyushgargdev
@piyushgargdev Год назад
Yes we are using EJS
@sportsstimulant4228
@sportsstimulant4228 Год назад
@@piyushgargdev i i watching your node and mongo db can i design admin page ( pass dynamic image to the main page using rest API ) ? Beacuse i am trying to design website in index.html page home, gallery and admin nav bar , gallery section came dynamic data through admin page , and admin can update and delete the image ..( after update or delete rest API must be update and delete) ... And can index.html and admin page port different ?? And how to connect both ?? Can clear all the think if i watching your series??
@abhavgoel9390
@abhavgoel9390 Месяц назад
I get it that we can store passwords using hash functions but technically we can print and log the original password, we are just not saving them in the DB. How is this taken care of priofessionally?
@moviesjhannat
@moviesjhannat Месяц назад
You can print because you are developing that but when it is production ready nobody can see and print the password
@User-yb3yc
@User-yb3yc Месяц назад
Completed
@facthabhai
@facthabhai 11 дней назад
sir app ka vs code theme kya ha kisi ko pata ha
@ayushjain7658
@ayushjain7658 7 месяцев назад
Thank you piyush for amazing tutorial. One small doubt, we have used schema functions for creating hash password and matching password, why cant there opertation be part of controller function ?
@tusharchawla1440
@tusharchawla1440 6 месяцев назад
Same doubt.
@rohanpatil8779
@rohanpatil8779 10 месяцев назад
Bhaiya can we use bcrypt instead of crypto.because I have compared bcrypt with crypto. bcrypt is too easy than crypto 😅😅 and I am totally confused please help me
@prolifier1
@prolifier1 10 дней назад
yess
@manashharshvardhan5007
@manashharshvardhan5007 2 месяца назад
@rishithadevathoty1917
@rishithadevathoty1917 Год назад
github link?
@marutigarad4071
@marutigarad4071 5 месяцев назад
nice videos
@mehul4690
@mehul4690 Год назад
sir please share the code it will help a lot
@madhavgupta2002
@madhavgupta2002 6 месяцев назад
26:00 another attempt at making a project wasted as mongoDB isnt connecting
@Farhankhan-lu1vr
@Farhankhan-lu1vr 4 месяца назад
brother dont give up this easily
@Farhankhan-lu1vr
@Farhankhan-lu1vr 4 месяца назад
i paid 1 lakh for mern stack and trust me he teaches better than him you helped me a lot
@deendraws9570
@deendraws9570 Год назад
Error creating user: ReferenceError: fullName is not defined or email is not defined or password is not defined (fix) go to route.js router.post('/signup', async (req, res) => { const {fullName, email, password} = req.body await User.create({ fullName: fullName, email: email, password: password, }) return res.redirect('/') }) also add middleware in index.js app.use(express.urlencoded({extended: false}))
@141pranavpatil4
@141pranavpatil4 8 месяцев назад
I am facing User.create is not a function can please help
@141pranavpatil4
@141pranavpatil4 8 месяцев назад
20.07
@allahs_creation233
@allahs_creation233 Год назад
source code
@piyushgargdev
@piyushgargdev Год назад
drive.google.com/file/d/1So5UEt08TiHeT-eJbVOos2Xb4ixK7NR6/view
@user-fu3wj1kl3d
@user-fu3wj1kl3d 6 месяцев назад
github account?
@vinaypratap620
@vinaypratap620 23 часа назад
video bna rahe ho thik hai thanks for that ....... lekin itna jaldi kyu hai bhai aram se bnao video smj nhi ata krna ky chahte ho
@allahs_creation233
@allahs_creation233 Год назад
if someone has source code please do send
@eagle-view
@eagle-view 2 месяца назад
you don't explain most of the things properly
@shubham0546
@shubham0546 6 месяцев назад
If you are getting this error: "TypeError: User.matchPassword is not a function" then put matchPassword above "const User = model("user", userSchema);" eg: "userSchema.statics.matchPassword = async function (email, password) { const user = await this.findOne({ email }); if (!user) throw new Error("User not found"); const salt = user.salt; const hashedPassword = user.password; const userProvidedHashedPassword = createHmac("sha256", salt) .update(password) .digest("hex"); if (userProvidedHashedPassword !== hashedPassword) throw new Error("Password does not match"); return user; }; const User = model("user", userSchema); module.exports = User;"
@abhishekraghunath95
@abhishekraghunath95 17 дней назад
my local host 8000 does not reload automatically everytime I hit save. { "name": "1", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js" }, "author": "", "license": "ISC", "dependencies": { "ejs": "^3.1.10", "express": "^4.19.2" }, "devDependencies": { "nodemon": "^3.1.4" } }
@pratappadhy2005
@pratappadhy2005 3 месяца назад
Hi Piyush const user = this.findOne({ email: email }) This always returng not null however on accessing any property of user it return undefined. Any help please? Thanks
@namratanimmi3342
@namratanimmi3342 22 дня назад
Might be that in your ejs file the name attribute is not defined in input tags
Далее