Node.js, MongoDB & Express: Simple Add, Edit, Delete, View (CRUD)

This article shows how you can create a simple CRUD (Create, Read, Update, Delete) application in Node.js using MongoDB as database. We will also be using Express Framework to build this Node.js web application. Previously, I had written an article on Creating basic CRUD application using Node.js, Express & MySQL database. This article contains creating … Read more

Node.js, MySQL & Express: Simple Add, Edit, Delete, View (CRUD)

This article shows how you can create a simple CRUD (Create, Read, Update, Delete) application in Node.js using MySQL as database. We will also be using Express Framework to build this Node.js web application. We will be using EJS as templating engine. We will be using HTTP Methods like GET, PUT, POST, DELETE to make … Read more

Node.js & Express: Templating using EJS

This article show how you can use Embedded Javascript (EJS) in your Node.js & Express application. EJS is an open-source Javascript Template Library. There are different other Javascript Templating languages/libraries like Mustache, Pug, Jade, etc. which can also be used in your Node.js & Express application. This tutorial uses EJS as the templating language for … Read more

Node.js & Express Framework: Basic Introduction & Hello World Example [Beginner Tutorial]

This article shows how you can use Express Framework for creating Web based Application in Node.js. Express is a free and open-source Node.js web application framework. Create a Hello World application using Express Framework Here’s a step-by-step guide: 1) Go to the folder where you want to create your new Node.js application/module. 2) In my … Read more

Node.js: Packaging your Node.js Module/Project

This article shows how you can package your Node.js module or project using npm init command. Running this command will create a package.json file which contains all the necessary packaging information. Here’s a step-by-step guide to create package file with npm init command. 1) Open terminal/command-prompt 2) Go to your Node.js module/project directory. In my … Read more

Node.js: Create a Basic Application [Beginner Tutorial]

Node.js is an open-source runtime environment, used to build server-side and networking application using Javascript. Generally, Javascript has been used for client-side scripting. However, with Node.js, you can interact with web-server using Javascript. The APIs of Node.js are asynchronous and event-driven which helps in faster code execution. Here’s the installation instruction for Node.js. Creating Basic … Read more