Node.js - few beginner questions (modules, require, passing variables form one js file to another)

It’s hard for me to start with node.js and understand all it basic concepts. I hope that I will move smoothly ahead if somebody give me a hint. You can find questions (sorry if they are some kind of ‘stupid’, but hey you were beginner too, right?) in a git repo comments.

Thanks for any help.

Hi @spamator12, I don’t believe there are any questions in your github repo. Do you have any specific questions you’d like to ask?

@spamator12 — Yes, I don’t see any questions there either, but even so, this is the place to ask your questions, rather than sending us on a wild goose chase to find them somewhere else. :slight_smile:

1 Like

Sorry for late reply - but I have very time consuming job and can spare only few moments to learn something new in my hobby - for example here -

questions are in the code.

I do not understand how to pass variable from -‘/post’, function(req, res, next) - var page for example to other js file…

If somebody could explain it in a simple way I would be very grateful.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.