Tagexpress

Authentication in Nodejs using JSON web tokens (JWT)

A

Hey there, In this article, we would be learning how to implement authentication in nodejs using express and JWT aka JSON web tokens What are JSON web tokens? JSON web tokens or JWT is a simple long string that contains some data in an encoded way. Sounds confusing? here is an example A Sample JWT String may look like: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Building REST API with Node.js

B

A few years back, the only way to run a javascript code was in web browsers. But after the birth of Nodejs, we could run javascript code outside of the web browser. Node.js provides a run time environment to run javascript code. It is built on the chrome‚Äôs open-source V8 engine. After being said that let’s build a real REST API in Node.js & Express from scratch. I’ll be...

Most common tags