Express tutorials

Facebook Status Box using Node.js and MySQL

I have already explained about Express.js tutorial and creating a simple app with it. As promised in that post I thought to come up with another Express.js tutorial with MySQL. But again, explaining just the concept about the library is not enough and this is not even why codeforgeek exists. So I thought to come …

Facebook Status Box using Node.js and MySQL Read More »

Node.js and Redis tutorial – Installation and commands

Redis is the high-performance in-memory database used as data structure store. Redis supports hash, strings, lists and other complicated data structures by maintaining very high performance. Redis along with Node.js can be used as to solve various problems such as cache server or message broker. In this tutorial, we will cover popular and useful Redis …

Node.js and Redis tutorial – Installation and commands Read More »

How to write custom middleware for ExpressJS

Middleware in Express.js is a function that gets executed before HTTP response was formed. One of the famous example is using body-parser in express for extracting POST data. In this tutorial we will learn how to write custom middleware for Express.js project. We will develop sample project using middle-ware which will check HTTP requests and …

How to write custom middleware for ExpressJS Read More »

Build a RESTful API using Node and MongoDB

MongoDB is open source, NoSQL, document oriented database designed for scaling and performance. MongoDB can be easily interface with Node.js cause Mongo provides official native driver. In this tutorial we are going to learn following things. DOWNLOAD Setting up MongoDB Installing NPM modules. Setting up our Server. Creating basic MongoDB model. Creating basic RESTful API’s …

Build a RESTful API using Node and MongoDB Read More »