From the course: Angular: Creating and Hosting a Full-Stack Site

Why Node.js?

From the course: Angular: Creating and Hosting a Full-Stack Site

Start my 1-month free trial

Why Node.js?

- [Instructor] Now that we've got our client side working nicely, it's time to start building the backend of our blog and to do this, we're going to be using Node.js. Now you've probably heard about Node.js by now, and it's very important to us because it allows us to write our backend in JavaScript, instead of PHP or Python or Java. Now it used to be that in order to be a full stack developer, you had to be fairly fluent in more than one programming language, but with Node.js, which has become an incredibly popular platform since it was released, our entire web application can be written in JavaScript, which is great news for us JavaScript developers. Now there are many different NPM packages that can be used to write Node.js servers and the one that we're going to use in these videos is called hapi. Hapi is a good choice for us because it's popular, it's easy to get started with, and it's also very well documented. And additionally, there are a ton of add-ons that can be used to extend its functionality, which, as you'll see later on, really comes in handy. So without further ado, let's get started.

Contents