JWT Authentication in Express.js using Passport.js

In the previous post, we created an express.js application step by step. If you haven’t read that post, I suggest you do it because the basic steps are covered in the post. Therefore, you can check it out from here: https://nepcodex.com/2019/09/create-an-express-application-with-database/. Also, since we are trying to build a REST API, we will remove many … Read more

Create an Express Application with Database

In this post, we will learn how to create an express application with a database. Not only this, but also we will include a templating engine. For the record, I don’t say you have to do the way I do here, but you will get the gist of what to do. So, let’s begin by … Read more

More Interesting Facts in JavaScript

In the previous post, we saw some basic interesting facts in JavaScript. In the same way, we are going to view other interesting facts in this post. If you haven’t viewed that post, then I suggest you do have a loot at it. More Interesting Facts Var and Let Let’s see the code below: In … Read more

Some Interesting Facts in JavaScript

JavaScript, which was created to “make web pages alive”, is one of the feature-rich language. However, this scripting language has got many peculiarities which is distinct from other programming language. So, here we are going to view some interesting facts in JavaScript. We will see some history and some programming ways which are different from … Read more

Spread and Rest Operator in JavaScript

JavaScript (ECMAScript) is one of the powerful scripting language which provides many features to developer. In the first place, it is the technology which makes a website lively. Not to mention, there are many ways to do a task in JavaScript. This language might not have been started with that planning, but the standards are … Read more