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 …

Introducing Mongoose 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 …

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. …

Express middleware Read More »

Scroll to Top