Express Js

Introducing Mongoose

Mongoose is a Node.js module that provides developers with the ability to model objects and savethem as MongoDB documents. While MongoDB is a schemaless database, Mongoose offers you theopportunity to enjoy both strict and loose schema approaches when dealing with Mongoose models. Mongoose provides a straight-forward, schema-based solution to model your application data. It includes …

Introducing Mongoose Read More »

Expressjs tutorial

In this, a few have listed some of the Expressjs tutorial blogs which I was learning. The Express js, is a framework that sits on top of Node.js’s web server. Express js is easier to use and a very popular Nodejs framework, Express has many features but Middleware and routing, are two popular features of Express. Express …

Expressjs tutorial Read More »

Express js passport authentication

User authentication is one of the most important tasks, in this article we’ll learn express js passport authentication in our project. Passport is a robust piece of Node.js authentication middleware that helps us to authenticate and access control our Express apps. The Passport middleware allows developersto offer various authentication methods using a mechanism called strategies, which allows you …

Express js passport authentication Read More »

API in Express

An application program interface [API] is code that allows two software programs to communicate with each other. That makes it possible for applications to share data and take actions on one another’s behalf without requiring developers to share all of their software’s code. In the simplest terms, APIs are sets of requirements that govern how …

API in Express Read More »

Express middleware

The middlewares are one of the most important features in Express. The middlewares are the function written with request handler function and these function will access to the request and response objects.  The middleware functions usually take three arguments,  functions that have access to the request object (req), the response object (res), and the next middleware function in the application’s request-response cycle. The next middleware function is …

Express middleware Read More »

Scroll to Top