Express.js Beginner Tutorial

Expressjs Beginner Tutorial

In this Express beginner tutorial, we can download and install Express.js to our system and see how to get a super basic skeleton application set up and configured. Thankfully, this is made pretty easy by the fact that there is a dedicated tool to create a new Express project automatically called Express Generator. Let’s take a look at how the complete beginner can get up and running with Express.js right away.…

Node.js Routes Tutorial

Nodejs Routes Tutorial

In our last Node.js tutorial, we learned how to render some very basic html to the screen. Of course an actual website or application will have many different html files to present to the user. Typically you will need some type of routing mechanism to handle this. In this episode, we’ll take a look at a routes example where a user can load different urls in the browser.…

Render HTML In Node.js

render html with nodejs

Let’s see how to create a server and render some HTML in Node.js. First up, we will create a new file named server.js in our project root. We are writing our first server in Node.js! It might seem odd if you’re coming from a PHP background to talk about creating our first server in a JavaScript file, but that is in fact what we are about to do.…

Node.js Todo List Tutorial

nodejs todo tutorial

In this Node.js adventure, we will tackle the obligatory todo list application. Along the way we are going to learn about the basics of modules and how to use them in a Node environment. After that, we’ll explore how to use require() to make use of both our own files in addition to third party modules created by the community. We will need to see how to accept user input as well as make use of JSON to store the data that makes up our todo items.…

What Is NodeJS?

what is nodejs

Node.js is the way to make applications using JavaScript outside of a web browser. In the past, we always thought of JavaScript as a simple toy language for silly alerts and such in web browsers. Today it is much, much more than that. With Nodejs, a whole new set of features and api’s come to the JavaScript language that previously would require a language like Python, Java, PHP, or C#.…