Tutorial

File uploads using Node.js

File upload in node.js seems tedious due to its async nature and network programming approach. However, it is one of the easiest file upload mechanisms I have seen yet. LIVE DEMO DOWNLOAD How to perform file upload? I am going to use express framework and middleware called “multer”. This middleware is designed for handling the multipart/form-data. In …

File uploads using Node.js Read More »

Continuous Integration and deployment (CI/CD Pipeline) with Jenkins and Node.js

Write code, test and deploy This is one of the common development cycles of any developer. Most of the time testing and deployment steps do not change frequently and in order to keep the developer focus on writing code, we do the automation of testing and deployment. This automation is called “continuous integration and deployment” …

Continuous Integration and deployment (CI/CD Pipeline) with Jenkins and Node.js Read More »

HTML5 Push Notification System Using Nodejs MySQL Socket.io

Real-time web/mobile application is becoming popular day by day. Services like Firebase and Pusher provides API’s and Services to develop effective real-time notification system for your mobile and web apps. We are not going to use these Services in this post; instead, we will develop an application that pops up a notification on a particular …

HTML5 Push Notification System Using Nodejs MySQL Socket.io Read More »

S.O.L.I.D the First 5 Principles of Object Oriented Design with JavaScript

S.O.L.I.D Stands for first five object-oriented design principle by Robert C.Martin. SOLID principles can be used to design and develop extensible and easy-to-maintain software. By using these principles in object-oriented programming developers can create and maintain the codebase very easily. SOLID stands for: Single-responsibility principle Open-closed principle Liskov substitution principle Interface segregation principle Dependency Inversion …

S.O.L.I.D the First 5 Principles of Object Oriented Design with JavaScript Read More »