Hey sir a desperate need of chai pe charcha session to discuss what steps should take before going to develop a project. Basically I have been thinking about the project for a long time but cant understand what I should include in that and start
Hey Sir, I'm really eager to join your cohort, but the cost is currently quite high for me in Pakistan. I'm a huge fan of your teaching style and learn a lot from your videos. Hopefully, in the future, you might consider offering more affordable options for international students like myself. Thanks!
Couldn't properly understand assignment kya hai as aapne timestamp already true krdiya so can anybody help me ki like code likhna hai kuch ya smjhna hai kuch?
transformations:{ height:{type:Number, default:VIDEO_DIMENSIONS.height}, width:{type:Number, default:VIDEO_DIMENSIONS.width} } ye jab statement likha na to deja vu hua laga ki sapne mein kabhi dekha tha
Could you remove the interface from pre method? Instead of: userSchema.pre("save", async function(next){ just write: userSchema.pre("save", async function(next){ If this doesn't work, it would be better if you could mention the error you are getting.
Waiting for next video sir ji 🤩🤩
Y to dekh le bhai
Complete ho gaya. Yar
@@mathhacker2023 ooh revise krlo
Thanks Hitesh Sir❤ big respect for your content ❣️ 15:12
aways waiting for your videos every day
Thanks for this video and playlist
11:43 >reload window on vs code
Thank you sir for all your helps and effort
Next video waiting Love you sir❤❤
completed >>>>>>>
thank you sir 💖
Hey sir a desperate need of chai pe charcha session to discuss what steps should take before going to develop a project. Basically I have been thinking about the project for a long time but cant understand what I should include in that and start
Tnx
Sir mongoDB compass and Atlas mongoDB me Kiya difference hy ?
Atlas locally use karte like mongodb system par dowload karke. Compass me mongodb cloud milta jisse no local setup needed 😊
@CodeDaily365Days thanks 😊
@@CodeDaily365Days Ulta boldia bhai tumne
Waiting..
Thanks ♥️🤗
Sir how many lectures in this and when it will be finished
Hey Sir, I'm really eager to join your cohort, but the cost is currently quite high for me in Pakistan. I'm a huge fan of your teaching style and learn a lot from your videos. Hopefully, in the future, you might consider offering more affordable options for international students like myself. Thanks!
Coding with musa 💕 from Lahore Pakistan
sir how your IDE is providing auto semi-colon in the code ??
🔥🔥🔥🔥🔥
Waiting
Hello, Hitesh sir Can you please make a video on django Scope in future and if there is Scope then can you please launch full course of django
@@ArhuRai-g7g django ka full course already chai aur code channel m h
4:40 started making mongoose models
Please make a video on how exactly vercel runs nextjs code
done!!
Waiting ❤
Love From Pakistan
🙏
Im following 1 years old backend course and if you know the logic its like i know it its same i can do it ,,, password and hash
sir where is repo for this
Couldn't properly understand assignment kya hai as aapne timestamp already true krdiya so can anybody help me ki like code likhna hai kuch ya smjhna hai kuch?
sir what's the github repo name?
Hi 👋 sir
💕🔥
Sir ek proper playlist bna de kindly sequence wise confuse ho rahy
Main web development karna chahta hu kya ye sahi rahega
Please add the video number, its confusing which video need to watch first
🖤☕️
i don't know next.js but still trying to understand how its work and making this project 😂😂😂😂
kya videos late ho yaar guru ji
Coding with musa 💕 from Lahore Pakistan
Ba background wale kar sakte hai kya web development 😢
Coding with musa 💕 from Lahore Pakistan
Bolo n sir , aise to bina baat k hi reply d dete ho dues ex machina
transformations:{
height:{type:Number, default:VIDEO_DIMENSIONS.height},
width:{type:Number, default:VIDEO_DIMENSIONS.width}
}
ye jab statement likha na to deja vu hua laga ki sapne mein kabhi dekha tha
Mai ek game bana raha hu koi mere sath join karna chahta hai to reply karo
import mongoose, {Schema, model, models} from "mongoose";
import bcrypt from "bcryptjs";
export interface IUser{
email: string;
password: string;
_id?: mongoose.Types.ObjectId;
createdAt?: Date;
updatedAt?: Date;
}
const userSchema = new mongoose.Schema({
email: {
type: String,
required: true,
unique: true,
},
password: {
type: String,
required: true,
},
},
{ timestamps: true }
);
userSchema.pre("save", async function(next){
if(this.isModified("password")){
this.password = await bcrypt.hash(this.password, 10);
}
next();
});
const User = models?.User || model("User", userSchema);
export default User;
Isme error aa raha hai , koi help karega?
Code tho correct hai configuration me error hoga mongoose or bcryptjs
@@CodeDaily365Days try kar liya but correct nahi ho raha
Could you remove the interface from pre method?
Instead of: userSchema.pre("save", async function(next){
just write: userSchema.pre("save", async function(next){
If this doesn't work, it would be better if you could mention the error you are getting.