Node.js

How To Query Elasticsearch Using JavaScript

Elasticsearch is an amazing open-source tool to store, search and analyse data. With an emphasis on search. Fortunately, this query goodness isn’t restricted to Kibana alone and its dev tools section. Elastic, the company behind this search engine, has also provided us with a feature packed NodeJS API client, allowing you to query directly from …

How To Query Elasticsearch Using JavaScript Read More »

User Authentication Cover

Local User Authentication With Passport And Express 4

Setting up user authentication can be a tricky business. But fret not, I’ve got you covered! In this tutorial, I’ll show you how to set up your own user authentication from scratch with Passport.js and Express 4, specifically implementing the local strategy with Mongoose and MongoDB. How it works Before we dive right into the …

Local User Authentication With Passport And Express 4 Read More »