Комментарии:
A comprehensive tutorial on Middleware in Express, beautifully presented. Thanks, Dave
{2023-10-05}: implemented
This tut hasn't been liked enough.
I usually don't comment to thank, but thanks Dave
Ona managed vps and keep running into cors error when my front end loads and talks to the backend. I've added the cors settings after the installed apps and still running into cors errors. Need halp
ОтветитьAbsolutely great video. Just for improvement purpose, it's best to import logger as a single value (const logger = require('./destination')) rather than as an object with named properties since that not how it was exported in the logEvents file. Even if, it doesn't matter anyways. Thanks for this very elaborate module, Dave.
ОтветитьVery nice tutorial. Very easy to understand
ОтветитьVery nice explanation. Step by step. Easy to follow. Thx
Ответитьalgorithm should recommend these videos to all the people who want to learn NodeJS.
Ответитьwhen a new Error("Not allowed by CORS") is created, does the app.use(errorHandler) receive it automatically, because it has a first arguement as err?
Ответитьso far ok completed the second video
ОтветитьThanks Dave!! My websites coming along nicely!
ОтветитьThank you for the lesson. Do you know why browser doesn't allow to fetch from console from it's starting window (when url is empty, when we just opened the browser without starter page)? I thought that origin just will be undefined but everything would work.
ОтветитьWhy you dont use next() in the errorHandler function? you did it in logger, its because is the last middleware or something like that?
Ответитьim looking for your typescript tutorial
ОтветитьThank you very much for this lesson.
With all due respect. and I do sincerely and deeply have A LOT of respect for everything you are doing here:
For me, the last part where you immediately say to "Like" the video is a bit too aggressive,
Without a single second of silence to breathe, to process, and to execute the "Like" on our own -
Without you asking us to do so, but just because of a natural sense of gratitude.
I feel less sympathy for this kind of... "strategy"(?), because...
Whoever likes the video - will give them a "Like",
And whoever likes to subscribe - will certainly subscribe.
Furthermore, think of people who already subscribed to your channel,
And yet don't have any other choice but to listen to this request in the end of each and every video,
Regardless of the fact that they already did it.
My suggestion (/request) :
Give your viewers a little bit more credit 😌
(in addition, there is actually a graphic invitation to subscribe during the videos already...)
Super tutorial, progression is smooth and so interesting, thx !
ОтветитьA very useful tutorial!!!!
ОтветитьThank you so much
Ответитьthank you.
ОтветитьAmazing tutorial thank you
ОтветитьEven I did not removed the `.css` I can still access it in the browser.... ? why?
Ответить🚀
ОтветитьThis has been truly enlightening, this series has helped me tremendously with the aspects of node & expressjs I had been struggling with. I look forward to learning more from you in the future!
ОтветитьThank you for all your help! I appreciate you mentioning keyboard commands as well, that's fantastic info for a beginner!
ОтветитьI got an error optionsSuccessStatus undefined , so I declared let optionsSuccessStatus; outside corsOptions, and that removed the error and got everything to work fine. is that an allowed hack?
ОтветитьThis is gem people!
ОтветитьDave, you are my new hero. Thanks a lot for these videos, they had helped me a lot. Very very clear. Keep up the good job.
ОтветитьQuick question, what extension do you have that allows your file names in your Explorer tab to have different icons and colors?
Ответитьgreat tutorial! Coming from the frontend world, it really helps me to undestand how the backend works!
ОтветитьCan you please make a video node JS microservices crash course
ОтветитьWell explained Dave,
Middleware can be very handy to allow only authentic users to access certain pages,
I recently started using the Rest Client extension for VS Code instead of Postman, I found it easier to work with as I don't have to leave VS Code to test my API, it also let me have all my requests in a plain text file that can be included side by side with the app files.
Thanks Dave 🚀