Adel Benyahia
Jan 20, 2023

--

In express framwork, the order of middleware loading is important.
Middleware that are loaded first are also executed first
For that we have to put security check middlewares and authentication middlewares first.
And errors logging middlewares at the end of our code

--

--

Adel Benyahia

Web application developer (HTML │ CSS │ JS | ReactJS | NextJS | NestJS | MERN)