


Many websites will recommend that you head to the official Node download page and grab the Node binaries for your system. I won’t go into depth on the various installation instructions, but if you have any trouble getting set up, please visit our forums and ask for help there. It will, however, be suitable for those people who feel reasonably confident with the JavaScript language, and who are looking to take their first steps in Node.js.īefore we can start coding, we’ll need to get Node, npm and MongoDB installed on our machines. If that’s the kind of thing you’re after, look here. These include routing, templating, dealing with forms, interacting with a database and even basic authentication.

Starting from the ground up, I’ll demonstrate how to build a no-frills web app using Node.js, but instead of focusing on the end result, I’ll focus on a range of things you’re likely to encounter when building a real-world app. In this tutorial, I’m going to take a slightly different approach. This means that, by the time you’ve finished, you’ve built something nice and shiny, but you also have relatively few takeaways that you can apply to your next project. Once you get beyond the “Hello, World!” tutorials, much of the material out there has you copy-pasting code, with little or no explanation as to what you’re doing or why. If you’re just getting started with Node.js and want to try your hand at building a web app, things can often get a little overwhelming.
