background preloader

Node JS

Facebook Twitter

Node.js Tutorial: Creating a Simple Application with Node, Express and MongoDB. If you’re reading this tutorial, you’ve probably heard a lot about building web applications with Node.js.

Node.js Tutorial: Creating a Simple Application with Node, Express and MongoDB

Node is tiny and wasn’t really meant to build websites, which is why frameworks like Express.js are useful. Express gives Node structure so you can build a functional website. Along with a templating engine such as Handlebars.js, Node can be used to build fully functional web applications. If you have any questions, please refer to the documentation for Node.js and Express.js. A Sample App with Node.js, Express and MongoDB – Part 1. In this post, we’re going to be creating a simple Employee database using Node, Express and MongoDB.

A Sample App with Node.js, Express and MongoDB – Part 1

By the end of this tutorial, you should be able to save a new employee and display all saved employees. Getting StartedMongoDB Installation and configuration of MongoDB is beyond the scope of this post. You can download MongoDB from their downloads page. For configuration and help getting Mongo started I’d suggest you read this tutorial.