ExpressJs

Node JS Server with Express framework

Reading Time: 3 minutes Introduction: Express is a minimal and flexible Node.js web application framework that provides a robust set of features to develop web and mobile applications. It facilitates the rapid development of Node based Web applications. Following are some of the core features of Express framework − Allows to set up middlewares to respond to HTTP Requests. Defines a routing table which is used to perform different Continue Reading

Enabling CORS in Node.js

Reading Time: 2 minutes In the last blog, we’ve learnt the basic about the CORS, how we can setup and how it works. Now ini this blog, we’re going to learn how we can enable the it in node.js CORS is a browser security feature that restricts cross-origin HTTP requests with other servers and specifies which domains access your resources. Let’s say accessing images, videos, iframes, or scripts from Continue Reading

MEAN Stack: Introduction – Part 1

Reading Time: 2 minutes MEAN Stands for M – Mongo DB (database system) E – Express (back-end framework) A – Angular.js (front-end framework) N – Node.js (back-end runtime environment) What is MEAN? MEAN is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications. The stack used in mean is: Mongo DB: Mongo DB is an open-source, document database designed for ease of development and scaling. It is Continue Reading

CRUD in NodeJs with MongoDB: Explanations

Reading Time: 3 minutes Here we are, in this post we are going to create a CRUD application in NodeJs with mongoDB as database and ejs as a templating engine. You can download the application from here: github Before diving in to this post please checkout my previous post, then you will get to know why i choose ejs as a templating engine. In next post we will use Continue Reading