Re: [nodejs] Node.Js Hosting

2018-04-27 Thread Sameer Joshi
DigitalOcean (digitalocean.com). Pricing starts frombas low as $5 / month -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You

[nodejs] start node js server at debian start up

2018-03-14 Thread Sameer Joshi
Hi Raphael, You can use 'pm2' (https://www.npmjs.com/package/pm2) to manage your node processes. 1. Start the node applications from pm2 instead of vanilla node pm2 start server.js --name=someName 2. Use the startup command (http://pm2.keymetrics.io/docs/usage/startup/) to create a startup

[nodejs] Re: Job queue for Node.js

2014-11-10 Thread Sameer Joshi
I have used Agenda which is backed with MongoDB. That has served my purpose. There is also an AgendaUI package where you can view all the status of the jobs which have been schsduled Reference: 1) https://www.npmjs.org/package/agenda 2) https://www.npmjs.org/package/agenda-ui On Tuesday,

[nodejs] Advantages of functions as modules

2014-10-02 Thread Sameer Joshi
Hello Team! I wanted to know, what are the advantages (if there are) of calling functions from modules using *modules.exports* as opposed adding all the functions to the main app JS file. I am looking for a simple comparison or pro's and con's for points apart from that it gives logical