NodeJS

41 posts

NodeJS, ExpressJS, Ghost, NPM, Grunt, Gulp

AWS: Install a Node app on AWS

I normally use Heroku [https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction] or Openshift [https://www.chrisjmendez.com/2012/04/29/expressjs-app-with-mongodb-on-openshift/] to publish apps but AWS works too....

How to install SailsJS

Dev Environment Install SailsJS npm install sailsjs Install Chrome Postman [https://chrome.google.com/webstore/detail/postman-rest-client-short/mkhojklkhkdaghjjfdnphfphiaiohkef] Content-Type application/json Quickly get started Create a new sails...

NodeJS + Forever Scripts

Install Forever package Download and install forever package/ npm install --save forever Create two files Create a start file. nano /app_dir/start.sh Create a stop file....

Simple NodeJS Server

This is the simplest NodeJS server you can create. var port = 8080; var server = "localhost" var http = require('http').createServer( onServerCreatedHandler ); http.listen( port,...

Simple NodeJS TCP

This is the simplest NodeJS app you can make that uses TCP. var net = require('net'); var server = net.createServer( onServerHandler ); server.listen(8080, 'http:...

You’ve successfully subscribed to Chris Mendez
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.