Sometimes, we want to redirect to previous page after authentication in Node.js using Passport.js. In…
Month: April 2022
Sometimes, we want to load vanilla JavaScript libraries into Node.js. in this article, we’ll look…
Sometimes, we want to get the _id of inserted document in Mongo database in Node.js.…
Sometimes, we want to set an environmental variable in Node.js. In this article, we’ll look…
Sometimes, we want to use a MongoDB password with “@” in it in Node.js. In…
Sometimes, we want to set the Sequelize findAll sort order in Node.js. In this article,…
Sometimes, we want to display Node.js raw Buffer data as Hex string. In this article,…
Sometimes, we want to render a variable as HTML in EJS. In this article, we’ll…
Sometimes, we want to return certain fields with .populate() from Mongoose. In this article, we’ll…
Sometimes, we want to fix Nodejs connect cannot find static error. In this article, we’ll…