Hi, I need some help with node.JS- not for freecodecamp but for a school project.
Help with NodeJS work
Hi, I can’t see your code. Also, do you have any particular questions?
I’ve edited to show my current code.
I’m very lost in regard to:
- I’ve returned a ServerObj, great. How do I apply this to the use function?
- There seem to never be any declaration of request\response variables coming to any function, so I’m not understanding how should the middleware use it.
- the whole logic of middlewares is unclear to me: Whats the purpose of storing them in an array? Are they not supposed to be acted upon once summoned?
Thank you very much