Note: Express evaluates functions in the order they appear in the code. This is true for middleware too. If you want it to work for all the routes, it should be mounted before them.
no that doesnt really help, what should I focus on in my code using that hint?
is there anything that shouldnt be or my code line should be placed elsewhere?
node is a bit confusing for me
ok makes sense haha , I was thinking that it would be like javascript where if you hadnt got the req/res yet how can you know what it is? so it would seem kinda undefined/not existing yet
thx It works