Category node js

Getting Started With Express Part 5

In the last part of this tutorial series, we created two routes to fetch and add books to our bare minimum application. We had already connected MongoDB database in Part 4 by defining a schema and creating a model to…

Getting Started With Expressjs Part 2

In Part 1, Getting Started With Expressjs, we did learn a lot about how Expressjs works as a Node.js framework. We built a simple and generic web server in the previous article that had two routes to function. We then…

Getting Started With Express Part 4

In the previous article, we learned how we can leverage ODM like Mongoose to connect a database to our Express server web application and define schema and model inside our web application to interact with the MongoDB database. In this…

Getting Started With Express Part 3

With an Expressjs application, you can make use of all popular databases available to perform several operations such as Create, Read, Update and Delete (CRUD operations). This tutorial will provide you an overview of a database, we are going to…

Getting Started With Expressjs

In previous articles, we discussed node js network programming also we discussed how to build a basic web server using Node.js alone. By Node.js alone, I mean using its core API modules such as URL and HTTP. In the second…

Event Loop and Asynchronous Non-Blocking in Node.js

Introduction to Node.js Event Loop In the previous article, we talked about Node js network programming. Here we will take it further and talk about Event loop and asynchronous non blocking in node js. Node.js is single threaded. It supports…

Node Js Network Programming

Web applications are often written in a server/client model where server is responsible to respond with resources for the client to handle. Node.js is an open source platform that allows you to build fast and scalable server applications using JavaScript.…