Quantcast
Channel: Phillip Napieralski » nodejs
Browsing all 3 articles
Browse latest View live

Building a simple joke site with NodeJS – Part 2 – Reading JSON from files

Last time we set-up NodeJS and built a simple “Hello world” app. This time, let’s have it serve up something more interesting. As a first step to building our joke website, let’s read two jokes from a...

View Article



Building a simple joke site with nodejs – Part 3 – Expressjs

A simple index-only page won’t do for a joke website. You’ll want to be able to navigate to pages that only have chuck norris jokes, or only have yo momma jokes. Or, perhaps you’ll add a page where...

View Article

Building a simple joke site with nodejs – Part 4 – Adding our joke routes

Last time, we got a basic expressjs app setup. Now, let’s bring in the stuff we created from part 2 and add to it in an expressjs way. This is the first step to awesomeness! Adding our flat file...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images