Been watching many of your backend/API-related videos recently, and I'm astonished to see how good they hold up in terms of quality and content. Even after completing several projects, I still gain that extra bit of clarity from these videos that help make working on a JS backend more intuitive for me.
@ead55902 жыл бұрын
This is great! I have implemented YUP on the backend with Prisma along with MySQL. Validation is being done with YUP for the input field values and Prisma checks if the email exists on the DB. That's a whole lot of validation going on.. And I love it! 😆 Thanks a lot Pedro! ✌🏻
@ddbros66033 жыл бұрын
it just amazing and also your explanation is excellent Thank You!
@paulinha-19 Жыл бұрын
Amazing, thanks for video!
@PandaPiper3 жыл бұрын
Pedro: “I’m gonna put something crazy” Pedro: ‘types name’ 😂😂😂 But for real great video! Could you show how to handle the authentication after validating? Or would you just use Firebase like you did in your other video?
@renatomignogna68953 жыл бұрын
Hey Pedro, thanks for this - great tutorial!
@faris.abuali2 жыл бұрын
Thanks Pedro! 😀 I see that 'yup' is similar to 'express-validator' package
@otaviopontes66373 жыл бұрын
Boa Pedro, ajudou pakas 👍
@PedroTechnologies3 жыл бұрын
Fico feliz! Obrigado!
@danielyabu2 жыл бұрын
Thanks man, it helped a lot! BTW, your English is great. I just heard you pronouncing 'buddy' instead of 'body'... LOL
@PedroTechnologies2 жыл бұрын
Yes hahaha this was a long time ago and my friends made fun of me for how i said it hahaha i say it correctly now!
@wangsunhakhun43142 жыл бұрын
really helpful.. save so much pain..
@shin98503 жыл бұрын
thaks man, it help me a lot
@mohamedyoussef88353 жыл бұрын
Awesome Tutorial.... Thank you +++++++++++
@jean-louisgouwy4 жыл бұрын
What it could be cool would be to send all the errors directly in the formatted error response :)
@n1ght_walker5363 жыл бұрын
This is exactly what brought me here. Sighs, disappointed I must say.
@ohyeah35142 жыл бұрын
how to do that
@majidshah482 жыл бұрын
set "abortEarly" to false example:: await schema.validate({ name: 'jimmy', age: 24 } , { abortEarly : false});
@Mercio22 жыл бұрын
Thanks!
@fri92684 жыл бұрын
Hello i watching your videos and they helped me a lot because i am new there and i learn React and everything around it. Now i trying use this validation with mySql on the same way asi you show in CRUD tutorial but i have a BIG problem now, i using this validation with MySQL because when i use middleware with db.querry, server go down with error ERR_HTTP_HEADERS_SENT' and i really do not know what with it and i need it a lot now for my school work. Can you make video how to use yup with mysql query. Thank you very much that you are there.
@PedroTechnologies4 жыл бұрын
Hey, so yup isn't meant to validate mysql queries in particular. What you validate is the variables you send in the query. So it would be exactly like this, you wouldn't have to touch mysql. If the error continues, could you paste your code here?
@nicolajslvsten49783 жыл бұрын
how to display server response on the client using html?
@maxmaksum46734 жыл бұрын
great
@PedroTechnologies4 жыл бұрын
Thank you!
@Shellflower12344 жыл бұрын
Amazing!!
@PedroTechnologies4 жыл бұрын
Thanks!!
@hussanjhjhjhjhjh690329 күн бұрын
thanks bro but i have one recommendation please do not use the high ore function at the backend controller fiels that handles your queries only remove te double async res, and req obj from the function use simple async functions for the backend but in middleware you can use this request
@medAmineRg3 жыл бұрын
great video
@usmanmughal59164 жыл бұрын
Firebase project
@PedroTechnologies4 жыл бұрын
Firebase is awesome! I am planning on a video talking about login with firebase!
@usmanmughal59164 жыл бұрын
@@PedroTechnologies yea with storage for pics
@usmanmughal59164 жыл бұрын
@@PedroTechnologies can i know what is ur age? Iam 18
@PedroTechnologies4 жыл бұрын
Yeah, should definitely do one!
@PedroTechnologies4 жыл бұрын
Damn hahaha Im 19 lmaoo You are a prodigy then, when I was 8 no one in my house had a computer hahaha
@medAmineRg2 жыл бұрын
hey you dont need to return next() that will cause a serious problem. you have just to call it. otherwise great tutoriel!
@medAmineRg2 жыл бұрын
@LALIT BISHT great to hear that my comment help, haha same here it took me like 6 hours to figure that problem, you welcome bro