Friday , 23 June 2017
Home / Tag Archives: http

Tag Archives: http

Creating a Hapi Server – Node.js Tutorial for Beginners

Creating a Hapi Server

In this tutorial, we’ll learn about creating a hapi server. We’ll also learn about routing in Hapi and how simple it is to set up a server in seconds. Creating A Server Let’s just get right to it. If you haven’t already, clear out your index.js file and add this bit of code. [crayon-594d4f59359e0696211682/] We’re doing a couple of things …

Read More »

Creating Blog Posts – Node.js Tutorial For Beginners

Creating Blog Posts

In this tutorial, we’re going to finish up our simple web blog application by creating blog posts dynamically. We’ll learn how to handle form data and redirect users. Creating the Form Let’s update our create route with the following code. [crayon-594d4f5936cef092236536/] First, we want to determine if the request is a POST or GET request. In HTTP, there are 2 …

Read More »

Create a HTTP Web Server – Node.js Tutorial for Beginners

Create a HTTP Web Server

Like I promised, we’ll be creating a VERY simple web blog. Trying to build a fully built web application in Node.js is pretty difficult. So, we’ll be building a simple web app and then learn how to utilize frameworks to help make the process a whole lot smoother. So bare with me here. If things seem hard, then I promise it’ll …

Read More »