We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the section where server.js is turned into a node module, the following is introduced:
exports.start = start;
It would be nice if the exports object was introduced. It's not entirely clear what it does, other than "it just works."
The text was updated successfully, but these errors were encountered:
Actually here functions are exported so that other controller's can take advantages of those functions,
instead of writing 'exports.start = start' we can also do this 'export function start'
Sorry, something went wrong.
Please let me know do you need any code change for this.
No branches or pull requests
In the section where server.js is turned into a node module, the following is introduced:
exports.start = start;
It would be nice if the exports object was introduced. It's not entirely clear what it does, other than "it just works."
The text was updated successfully, but these errors were encountered: