I created a very basic, but working shell script that deploys a node.js web application on your *NIX server. It assumes you have an init.d script set up to start and stop your application.
While I’m on a roll with node-related posts, I would like to take a moment to discuss how to run Node with Apache. Now, this might seem counter-intuitive at first glance; I am sure you are asking yourself “why the heck would I need to run apache with node if a node web app itself runs its own HTTP server?” but that’s the wrong question to be asking. The right question is “What kind of advantages do I gain by using the two together?” and the answer may surprise you. (more…)
As a node.js enthusiast, I have made multiple small to medium size web apps using node and its many various useful libraries like Express.JS. Previously I made a blog post about how to get started with making a node.js powered website and it has become one of the post popular entries on my blog however the feedback I got was that I need to include an example. I originally didn’t include one because I felt like there wasn’t really enough code to actually make it worthwhile, especially since some excerpts were already in the post. However, I have since realized that even if not used as an example, a basic scaffolding would help me (and thus probably others) with getting started on making their node website. Consequently, I introduce to you my “Node Website Scaffolding” project! Getting started is as easy as going into your terminal and typing
git clone https://github.com/podrezo/node-website-scaffolding.git
This will download everything you need except the dependencies. It comes with the latest (at the time of me writing this) bootstrap which is version 3.1.1. Let me run you through the ropes of this project… (more…)
In this post I am going to describe how to set up and get started on making a dynamic website with Node.JS from scratch. But first… (more…)
I can’t believe I have never seen this before – Google has a Chart API available publicly to display bar graphs, pie charts, and various other data visualization tools in HTML5. It’s clean, fast and judging from the examples quite easy to use.
Definitely going to use this on any future web projects that require any kind of graphs.