Edupala

Comprehensive Full Stack Development Tutorial: Learn Ionic, Angular, React, React Native, and Node.js with JavaScript

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 […]

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 […]

Serving static file in Express

We can use Express’s built-in middleware called static to serve static file like images, CSS files, and JavaScript file to the client. First, we have to define the directory where will put all are the static file to the middleware function express.static to start serving the files directly. We will define public as a directory for serving the […]

Scroll to top