Комментарии:
I like your font in this video, can you provide which font you are using? thank you!
ОтветитьExtremely useful tutorial!
ОтветитьExplained everything very beautifully ,simply,precisely. Wow!!!!!!!!!!!
Ответитьhi sir How to connect one Controller view id to another controller javascript id in MVC DB first opprouch
ОтветитьLove you bro for all you are doing. Thanks a lot
Ответитьits showing Joi.validate is not a function? anyone facing same issue?
Ответитьthanks🥰😍🤩
ОтветитьThe way you explain theory is awesome we never get bored of it
Ответитьlol dude you're not healthy enough to be teaching anyone. you sound like an autistic retarded kid
Ответитьwhy waste my time at universities and mosh is around.
Ответитьif you get Joi error. Use this instead.
// for Joi, validation
const schema = Joi.object({
name:Joi.string().min(3).required()
});
const result = schema.validate(req.body)
king mosh
ОтветитьThank you very much ,
Ответить❤🧡💛💚💙💜🤎🖤🤍 for the new Version of npm ->Joi
app.get('/api/add-course', (req, res) => {
const schema = Joi.object({
name: Joi.string().min(3).required(),
description: Joi.string().min(3).required()
});
const { error } = schema.validate(req.body);
if (error) {
// 400 Bad Request
res.status(400).send(error.details[0].message);
return;
}
// rest of your code
});
Nicely explain each points. Learn a lot❤
Ответитьwhat extension is he using to get all JSON outputs in that pretty format?
Ответитьif anyone facing a 'could not find joi module' problem while loading the joi module, then install it in your working directory and not globally.
Ответитьsmall update : Joy.validate() is no longer available in v-16;
ОтветитьThanks a lot! i finished ReactJs, NodeJs, and Express in two days! Thanks a lot <3
ОтветитьHi Mosh, Thank you for your crash course videos. Helped a lot in my career as an IT personnel.
Ответитьamazing
ОтветитьThis course is still Gold I bet. Very valuable
ОтветитьCould u tell us which to learn api or html, css, js
ОтветитьDear sir, thank you very much for your tutorial. You're great teacher!
ОтветитьUse Thunder Client instead of Postman !!
ОтветитьGreat video. However, it needs to be updated already since so much has change for the past 5 years.
ОтветитьHow to get and post real data is not shown. This video is not worth watching for an hour.
ОтветитьFirst Time I am learning Node.js bcz I am Frontend Dev.. Its this video is quite easy to learn..
Thanx
Amazing it can run in intranet.
ОтветитьHow to create api using mssql server stored procedure in nodejs. Could you please help me..
ОтветитьI'm come here suggested by chatGpt
Ответить1,5 millions of views and 26k likes. Totally unfair.. Thank you Mosh!
ОтветитьU didn't explain midleware
ОтветитьIt's 2023 and we are able to build rest APIs with single CLI command using LoopBack 4
ОтветитьThe best tutorial ever! @Programming with Mosh
ОтветитьCome on you knew all this in Jan 2018.... What the hell man.. hats off🙌🙌
ОтветитьYou should have included the codes in the description.I got stuck at Input Validation.I am getting error.I have checked and rechecked the code and there is no mistake.I installed the latest version of joi.
Ответитьis there any one for response?
ОтветитьBest investment I've made all year! Get the full course. Give this man his just due!
ОтветитьThis is my 3rd time watching a Mosh Tutorial Video starting from React, Node.js, to Express and it has really helped me in my career as an Application Developer. Thanks Mosh!
ОтветитьHy Mosh... Please do you have a tutorial of this same rest crud api in an MVC structure without a Database??? 🤕🤕
ОтветитьI purchased courses like React js, you can even understand without mastering java language
ОтветитьYou are Wonderful. Really, I have nothing to say.
ОтветитьI am not putting your tutorial down I am just old school
Most of this good however I always use { and } in case of needing more than one statement after the control structure
if (condition) {
statement1;
} else {
statement2;
}
looks a bit ugly but it does stops some types of bugs
because should extra statements are required
if (condition) {
statement1;
statement3;
} else {
statement2;
statement4;
}
I was taught each function/method should have one entry and one exit point yes it also can ugly. My main problem using exceptions are a lazy way of handling errors IMHO.
You might have guessed by now I was taught structured programming a long while ago
BASIC, Assembly Language (6502/6510/6809/68000, and ST6 2kb of ROM 64 bytes of RAM) Pascal, Modula2, COBOL, C all without exception handling (so problems had to be dealt with within the function as it occurred. Java/JavaScript/C++ and more recently Python all having exception handling I still check say a file exists before I use it in these languages as I said I am old school
Thanks for your tutorials opening up new languages to an old timer like me.
this guy is the best teacher, hands down
Ответить