vic
vic
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
Ok
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
So your code works now ?
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
So it will response what error u actually facing
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
In u r catch block , Remove the res.status(500).json({message:"internal server error"}); And replace it with res.status(500). json ({ message : error })
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
Since u told that it consoles req.body data so it enters in try block , Can u debug the code like , each after mongodb query line and an console log so u can find exactly where it's ended and throws an error For example const registration = async (req, res) => { try { console.log(req.body); const { email, name, phone, gender, password } = req.body; console.log("Name :", name) const userExist = await User.findOne({ email }); console.log(userExist);
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
Yeah I forget that , thanks for correct
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
And what errors does consoles in u r catch block , it consoles "internal server error " or is that u r response?
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
U need to specify the field that you're looking for
38 replies
KPCKevin Powell - Community
Created by saad khan on 2/20/2025 in #back-end
sending first data in mongodb
User.findOne( { mail : email } )
38 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
Yep , Thanks I would made changes with
14 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
But thanks
14 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
I tried box-shadow:0px 0px 2px rgba(255,255,255,1) and works
14 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
Yep
14 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
Thanks
14 replies
KPCKevin Powell - Community
Created by vic on 2/15/2025 in #front-end
border ui issue
Alright I will try
14 replies
KPCKevin Powell - Community
Created by vic on 2/13/2025 in #front-end
autofill input field bg Color change
I will try and tell
4 replies
KPCKevin Powell - Community
Created by vic on 2/12/2025 in #front-end
dark - toggle in reactjs
Thanks I will check it out
4 replies
KPCKevin Powell - Community
Created by vic on 2/12/2025 in #front-end
dark - toggle in reactjs
I see
4 replies
KPCKevin Powell - Community
Created by vic on 2/1/2025 in #ui-ux
need some ui recommendations
Sure thank u
30 replies
KPCKevin Powell - Community
Created by vic on 2/1/2025 in #ui-ux
need some ui recommendations
How to test that ? Sorry I never heard about these type of topics , can u share better article
30 replies